Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
He's making a train
Nesting ternary. No thanks.
Not very good readability
Clever, but I don't see how nesting ternary operators is a good practice.
Inception style conditional operators. Mind blown.
Clever in one line, but pretty difficult to read
This hurts my eyes
The purpose is to finish in one line, not to be readable. I think it's funny.
hard to read solution
This is awfully hard to read or extend.
The guy really did his magic there.
It's not a point. Do you think it's enough readable to put into production? This solution shouldn't be on production. I think solution with 'switch' is much better.
it is easy to read if you understand it.
What the... Who pressed 'Best Practices' button?
It's not best practice, uneasy to read.