As a js dev, I will gymnastically take that as a compliment
Comment on Pick a side Javascript
Comment105@lemm.ee 1 year agoJava devs are prima mental gymnasticists, always able to make anything make sense.
SouthernCanadian@sh.itjust.works 1 year ago
Konlanx@feddit.de 1 year ago
JS !== Java
Try Javascript some day!
We have truthy and falsy! Empty string or null? Yeah, that’s false! Of course we can parse a string to number, but if it’s not a number it’s NaN! null >= 0 is true! Assign a variable with =, test type equality with == and test actual equality with ===. You will NEVER use the wrong amount of = anywhere, trust me! Our default sort converts everything to string, then sorts by UTF-16 code. So yes, [1, 10, 3] is sorted and you are going to live with it. True + true = 2. You know I’m right.
Try Javascript today!
Beanie@programming.dev 1 year ago
True + true = 2
. I’ve heard memes about Javascript, but jeez. It’s really that bad?Comment105@lemm.ee 1 year ago
I made the thing in the thing print “hello world” with C# once, is JavaScript for me?