Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months agoBrace Stylesh.itjust.worksimagemessage-square157fedilinkarrow-up11.31K
arrow-up11.31KimageBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months agomessage-square157fedilink
minus-squareSlothMama@lemmy.worldlinkfedilinkarrow-up50·5 months agoI low key love it. It’s unconventional, but it’s not hard to read
minus-squarerepungnant_canary@lemmy.worldlinkfedilinkarrow-up28·5 months ago it’s not hard to read Until there’s missing brace somewhere
minus-squareJyek@sh.itjust.workslinkfedilinkarrow-up8·5 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·5 months 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
if
orfor
statements