There's a worrying trend in modern web development, where developers are throwing away decades of carefully wrought systems for a bit of perceived convenience. Tools such as Tailwind CSS seem to be spreading like wildfire, with very few people ever willing to acknowledge the regression they bring to our field. And I'm getting tired of it
At least C has a working equals operator. Go on, tell me about ===, invite the ridicule. I bet I know more about JavaScript than you do. I hate it because I am intimately familiar with it.
console.log(null==0)
console.log(null>0)
console.log(null>=0)
console.log(0==[])
console.log(0=='0')
console.log('0'==[])
// no equality comparison, but that shit is funnyconsole.log("2"+"2"-"2")
Any proper programming language wouldn’t even compile any of that nonsense.
And something being widespread doesn’t mean it’s either right or good - look at religions.
At least C has a working equals operator. Go on, tell me about ===, invite the ridicule. I bet I know more about JavaScript than you do. I hate it because I am intimately familiar with it.
console.log(null==0) console.log(null>0) console.log(null>=0) console.log(0==[]) console.log(0=='0') console.log('0'==[]) // no equality comparison, but that shit is funny console.log("2"+"2"-"2")
Any proper programming language wouldn’t even compile any of that nonsense.
And something being widespread doesn’t mean it’s either right or good - look at religions.