Brace Style

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev – 1285 points –
156

You are viewing a single comment

I low key love it. It's unconventional, but it's not hard to read

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 or for statements