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 must log in or register to comment.
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.