3
whyJavaScriptWhy (i.redd.it)
submitted 1 year ago by [email protected] to c/[email protected]
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/ProgrammerHumor by /u/The-Albear on 2023-08-29 12:17:28.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 year ago

Common.. this makes perfect sense..

0 is falseish (also true for many other programming languages)

non-empty string is trueish (also true for many other languages)

== makes implicit conversions (which is jank, sure.. this but is more a symptom of you not understanding the language.. use 3 equal signs here to get the result you expect)

If you wanna go on a witch-hunt, then how about you highlight some of the things that are truly jank.

this post was submitted on 29 Aug 2023
3 points (100.0% liked)

Memes and jokes about everything programming and CS

338 readers
6 users here now

For anything funny related to programming and software development.

founded 1 year ago
MODERATORS