Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agoBrace Stylesh.itjust.worksexternal-linkmessage-square156linkfedilinkarrow-up11.33Karrow-down113
arrow-up11.31Karrow-down1external-linkBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square156linkfedilink
minus-squareSlothMama@lemmy.worldlinkfedilinkarrow-up52arrow-down6·2 years agoI low key love it. It’s unconventional, but it’s not hard to read
minus-squarerepungnant_canary@lemmy.worldlinkfedilinkarrow-up28·2 years ago it’s not hard to read Until there’s missing brace somewhere
minus-squareJyek@sh.itjust.workslinkfedilinkarrow-up8·2 years 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·2 years agoOn braces are not used in if or for statements
I low key love it. It’s unconventional, but it’s not hard to read
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
iforforstatements