817
Learn to code (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] DSTGU@sopuli.xyz 2 points 2 weeks ago

Have fun with JS, everyones most consistent and beloved language.

https://jsisweird.com/

My favorite part is empty array truthiness. [] is falsy ( [] == true returns false ), but ![] is false. !![] is obviously true. (! is inversion as in all normal languages)

this post was submitted on 17 Jan 2025
817 points (94.2% liked)

Programmer Humor

32707 readers
1096 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS