3 ms·
Honestly, I like implicit coercion of empty stuff into false. Yes, I do agree it makes the code more legible. That said, objectively it doesn't gain that much.
by marcosdumay 9y ago
Honestly, I like implicit coercion of empty stuff into false. Yes, I do agree it makes the code more legible.
That said, objectively it doesn't gain that much. It may be that the cost of having any kind of implicit coercion is bigger than such gain. Implicit numeric coercion is another topic to think about, it is also hard to be sure if it is a net gain.