Off Topic > Off Topic
Programming Megathread
Foxscotch:
--- Quote from: McJob on May 10, 2016, 03:49:30 AM ---Also supporting braces on individual lines. It sets a good, consistent standard for indentation.
--- End quote ---
idk how that has anything to do with indentation... certainly don't understand how the alternative could be any worse as far as that goes
$trinick:
Putting opening braces on their own lines is tantamount to worshiping satan. You guys should be ashamed of yourselves.
otto-san:
i prefer braces in their own Special Place because that's what i'm used to and it just looks right to me. it's harder for me to follow code that has opening braces on the same line
SetGaming:
Wow, sorry about that. I've never seen anyone purposely put braces on the next line!
McJob:
--- Quote from: SetGaming on May 10, 2016, 08:20:19 PM ---I've never seen anyone purposely put braces on the next line!
--- End quote ---
It's in every programming book, tutorial, course and friend's code I look at. Hell, Harvard use it in CS50, and I've looked at AAA game code which used the standard brace style.