this post was submitted on 17 Jan 2025
802 points (94.3% liked)

Programmer Humor

32952 readers
287 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] DSTGU@sopuli.xyz 2 points 2 days 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)