Sjmarf to Programmer Humor@programming.dev · 4 months agoBrace Styleimagemessage-square153fedilinkarrow-up11.31Karrow-down113
arrow-up11.3Karrow-down1imageBrace StyleSjmarf to Programmer Humor@programming.dev · 4 months agomessage-square153fedilink
minus-squarerepungnant_canary@lemmy.worldlinkfedilinkarrow-up28·4 months ago it’s not hard to read Until there’s missing brace somewhere
minus-squareJyeklinkfedilinkarrow-up8·4 months agoI think this could be better for reading but harder for writing. Like you could write a script that converts between this and the easier to write way if you are working on a project with others.
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up2·4 months agoOn braces are not used in if or for statements
Until there’s missing brace somewhere
I think this could be better for reading but harder for writing. Like you could write a script that converts between this and the easier to write way if you are working on a project with others.
On braces are not used in
if
orfor
statements