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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.