You are viewing a single thread.
View all comments View context
3 points

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.

permalink
report
parent
reply

Programming

!programming@beehaw.org

Create post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Community stats

  • 67

    Monthly active users

  • 235

    Posts

  • 1.5K

    Comments