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

Memes and jokes about everything programming and CS

284 readers
12 users here now

For anything funny related to programming and software development.

founded 1 year ago
MODERATORS
 
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.

top 1 comments
sorted by: hot top controversial new old
[–] [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.