Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 7 个月前Brace Stylesh.itjust.worksimagemessage-square157fedilinkarrow-up11.32Karrow-down113
arrow-up11.31Karrow-down1imageBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 7 个月前message-square157fedilink
minus-squarerepungnant_canary@lemmy.worldlinkfedilinkarrow-up28·7 个月前 it’s not hard to read Until there’s missing brace somewhere
minus-squareJyek@sh.itjust.workslinkfedilinkarrow-up8·7 个月前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.
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up2·7 个月前On 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