• Yabadabadoo@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months 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.