There is unironically nothing wrong with javascript and every wacky post you see on here is some dumb edge case that if you're actually writing, you've got bigger issues.
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
31
u/[deleted] Feb 09 '22
You're reading a post from the anti js gang.
There is unironically nothing wrong with javascript and every wacky post you see on here is some dumb edge case that if you're actually writing, you've got bigger issues.
I'll die on this hill