Remix.run Logo
▲ amenghra 6 hours ago

Things become error prone once you realize that the precedence rules are different across languages!

    E.g. 1 & 2 == 0:
    Python => True
    C => 0 (False)
▲nayuki 2 hours ago | parent [-]

Similarly, I don't like people who write code like `if 0`, because 0 is false in C and JavaScript and Python, but 0 is considered true in Ruby!