• Subverb@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I’m anal about curly braces in C. I never code without them because I don’t like being ambiguous.

    I never do

    if(i=0) return 0;

    or worse

    if(i=0) return 0;

    I do

    if(i=0) { return(0); }