• iusemybrain@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 hours ago

    I think having both the indentation and the braces surrounding code is much better than just indentation or braces, since it removes any ambiguity of what code goes to what if, for, or while loop/condition. we already have to memorize precedence to define ambiguous expressions. Why have another set of rules that could otherwise be prevented with braces and indentation?