Off Topic > Off Topic
Programming Megathread
$trinick:
--- Quote from: Headcrab Zombie on May 09, 2016, 08:15:05 PM ---Well for one your loop condition is forgeted
--- End quote ---
Idk why that was so funny to me lmao
Headcrab Zombie:
--- Quote from: SetGaming on May 09, 2016, 11:44:11 PM ---Visual Studio formats code to the Allman style (the [<statement> n/ { n/ body n/ }] format) by default - while most people despise it, VS autocorrects to it so everything looks like bleugh.
--- End quote ---
--- Quote from: Ipquarx on May 10, 2016, 12:02:32 AM ---In addition, I'm pretty sure you can change the way it handles indentation.
--- End quote ---
For some really strange reason, it defaults new line for opening braces to off for Javascript, but on for every other language I use
ZSNO:
--- Quote from: SetGaming on May 09, 2016, 11:44:11 PM ---while most people despise it
--- End quote ---
Yeah, no
Pecon:
--- Quote from: ZSNO on May 10, 2016, 01:36:29 AM ---Yeah, no
--- End quote ---
Backing this up. Am programmer, like having my braces on individual lines.
McJob:
Also supporting braces on individual lines. It sets a good, consistent standard for indentation.