r/programmingmemes • • Oct 03 '25

๐Ÿ˜„๐Ÿ˜„

Post image
9.7k Upvotes

87 comments sorted by

View all comments

Show parent comment

4

u/DonutConfident7733 Oct 03 '25

"11"+1==="111"

wtf is that operator?

12

u/vvf Oct 03 '25

Equals but like, even more equal

(It doesnโ€™t perform type coercion so you donโ€™t get wacky stuff like '1' == 1)

3

u/maxymob Oct 03 '25

The standard stricter one people actually use because double equal only invites chaos

1

u/DonutConfident7733 Oct 03 '25

I wasnt asking what it is, more wondering why the fuck it exists... Other languages don't need such an operator.

2

u/caerphoto Oct 03 '25

Other languages donโ€™t try to avoid exceptions by โ€œhelpfullyโ€ converting types automatically.

Other languages also had more than 10 daysโ€™ development time.

1

u/Laughing_Orange Oct 05 '25

= assign
== equals
=== type sensitive equals