DEV Community

Discussion on: You don't need null

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Oh I used to care about this stuff, I don't think I do anymore but your post captures the arguments exactly. I don't care so much because I know how wild JavaScript is about falsely and truthy values compared to other languages. Best not to loose sleep over it 😅

Collapse
 
loucyx profile image
Lou Cyx

You should never loose sleep over anything code related, even more so if that code is JS 🤣 ... the articles in this series are more like "thought experiments" to make the readers wonder if they really "need" given thing to code, of if maybe it makes sense to not use that. I share the things that make me generally happier when coding, but that doesn't mean it will make everyone happier (as proven by some quite vocal users, raging on the comments 😅).

Some comments have been hidden by the post's author - find out more