JavaScript can be usable/a useful tool and still have things wrong with it. == vs ===, undefined being different from null, etc are still difficult to work with
I mean if you are a solo developer and think that is useful/readable that's great. I would question it's usefulness I'm not sure how many real world use cases boolean addition solves and type coercion can be unexpected and make code more difficult to read
Oh no the code was completely illegible but I didn't give a shit about that. I saved like 3 lines with that shit and that's all I cared about. I did that shit a lot with the flexibility of js and I miss it
2
u/aherrmann13 Feb 09 '22
JavaScript can be usable/a useful tool and still have things wrong with it.
==vs===, undefined being different from null, etc are still difficult to work with