Click here to Skip to main content
15,910,234 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Just saying Pin
Mark_Wallace15-Sep-16 11:00
Mark_Wallace15-Sep-16 11:00 
GeneralCoding standards: curly bracket style PinPopular
OriginalGriff15-Sep-16 2:39
mveOriginalGriff15-Sep-16 2:39 
PraiseRe: Coding standards: curly bracket style Pin
Slacker00715-Sep-16 2:46
professionalSlacker00715-Sep-16 2:46 
GeneralRe: Coding standards: curly bracket style Pin
OriginalGriff15-Sep-16 2:58
mveOriginalGriff15-Sep-16 2:58 
GeneralRe: Coding standards: curly bracket style Pin
Ri_16-Sep-16 0:28
Ri_16-Sep-16 0:28 
GeneralRe: Coding standards: curly bracket style PinPopular
Tim Carmichael15-Sep-16 2:57
Tim Carmichael15-Sep-16 2:57 
GeneralRe: Coding standards: curly bracket style Pin
Foothill15-Sep-16 3:25
professionalFoothill15-Sep-16 3:25 
GeneralRe: Coding standards: curly bracket style Pin
#realJSOP15-Sep-16 5:34
professional#realJSOP15-Sep-16 5:34 
In the absence of an established corporate coding standard, when editing an existing file, you should always adapt the style already used in the file. When creating a new file, you are free to go your own way, but consideration should be given to maintaining the same style as the other files in the folder (if there is a dominant style).

When I'm at home, I use the first style. At work, I'm lucky enough to working on my own stuff, so my preferred style is in force there as well.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Coding standards: curly bracket style PinPopular
PeejayAdams15-Sep-16 5:51
PeejayAdams15-Sep-16 5:51 
GeneralRe: Coding standards: curly bracket style Pin
Robert Blair18-Sep-16 14:12
Robert Blair18-Sep-16 14:12 
GeneralRe: Coding standards: curly bracket style Pin
kalberts16-Sep-16 1:24
kalberts16-Sep-16 1:24 
GeneralRe: Coding standards: curly bracket style Pin
Nagy Vilmos15-Sep-16 3:02
professionalNagy Vilmos15-Sep-16 3:02 
GeneralRe: Coding standards: curly bracket style Pin
MarkTJohnson15-Sep-16 3:22
professionalMarkTJohnson15-Sep-16 3:22 
GeneralRe: Coding standards: curly bracket style Pin
charlieg15-Sep-16 3:23
charlieg15-Sep-16 3:23 
GeneralRe: Coding standards: curly bracket style Pin
Foothill15-Sep-16 3:29
professionalFoothill15-Sep-16 3:29 
GeneralRe: Coding standards: curly bracket style Pin
Nish Nishant15-Sep-16 3:33
sitebuilderNish Nishant15-Sep-16 3:33 
GeneralRe: Coding standards: curly bracket style Pin
OriginalGriff15-Sep-16 3:41
mveOriginalGriff15-Sep-16 3:41 
GeneralRe: Coding standards: curly bracket style Pin
PeejayAdams15-Sep-16 4:13
PeejayAdams15-Sep-16 4:13 
GeneralRe: Coding standards: curly bracket style Pin
OriginalGriff15-Sep-16 4:26
mveOriginalGriff15-Sep-16 4:26 
GeneralRe: Coding standards: curly bracket style Pin
PeejayAdams15-Sep-16 4:45
PeejayAdams15-Sep-16 4:45 
GeneralRe: Coding standards: curly bracket style Pin
Jörgen Andersson15-Sep-16 6:43
professionalJörgen Andersson15-Sep-16 6:43 
GeneralRe: Coding standards: curly bracket style Pin
TNCaver16-Sep-16 4:22
TNCaver16-Sep-16 4:22 
GeneralRe: Coding standards: curly bracket style Pin
PauloJuanShirt15-Sep-16 3:48
PauloJuanShirt15-Sep-16 3:48 
GeneralRe: Coding standards: curly bracket style Pin
Vark11115-Sep-16 5:20
Vark11115-Sep-16 5:20 
GeneralRe: Coding standards: curly bracket style Pin
Joe Woodbury15-Sep-16 5:54
professionalJoe Woodbury15-Sep-16 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.