Click here to Skip to main content
15,914,905 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.

 
PraiseRe: Intervention: Coding Guidelines Pin
kmoorevs2-Apr-19 7:51
kmoorevs2-Apr-19 7:51 
GeneralRe: Intervention: Coding Guidelines Pin
W Balboos, GHB2-Apr-19 5:32
W Balboos, GHB2-Apr-19 5:32 
GeneralRe: Intervention: Coding Guidelines Pin
RickZeeland2-Apr-19 6:46
mveRickZeeland2-Apr-19 6:46 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 6:50
mvahoney the codewitch2-Apr-19 6:50 
GeneralRe: Intervention: Coding Guidelines Pin
RickZeeland2-Apr-19 7:00
mveRickZeeland2-Apr-19 7:00 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 7:08
mvahoney the codewitch2-Apr-19 7:08 
GeneralRe: Intervention: Coding Guidelines Pin
RickZeeland2-Apr-19 7:45
mveRickZeeland2-Apr-19 7:45 
GeneralRe: Intervention: Coding Guidelines Pin
#realJSOP2-Apr-19 7:44
professional#realJSOP2-Apr-19 7:44 
I have my own style and coding guidlines, but the determining factor of what I do at work is based on

a) Does the company have coding/style guidelines?

b) If a is false, I use the style/coding practices of the file I'm editing, and

c) try to use the same coding/style as other files in the project in new files i create.

Other than that, I try to only have one return point in a method, I declare and ini5t vars at the top of methods or scoped control blocks, try never to use "var" as a variable's type. keep methods within the scope that the method name infers, and I put class components in the order fields, properties, constructors, destructors, and then methods. Ialso put intellisense comments on every method and property. I'm also not shy at all about writinmg copious comments.

There are other things, but you get the idea.
".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: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 10:54
mvahoney the codewitch2-Apr-19 10:54 
GeneralRe: Intervention: Coding Guidelines Pin
PIEBALDconsult2-Apr-19 13:40
mvePIEBALDconsult2-Apr-19 13:40 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 14:17
mvahoney the codewitch2-Apr-19 14:17 
GeneralRe: Intervention: Coding Guidelines Pin
Munchies_Matt2-Apr-19 20:09
Munchies_Matt2-Apr-19 20:09 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 20:53
mvahoney the codewitch2-Apr-19 20:53 
GeneralRe: Intervention: Coding Guidelines Pin
Munchies_Matt2-Apr-19 20:55
Munchies_Matt2-Apr-19 20:55 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 21:03
mvahoney the codewitch2-Apr-19 21:03 
GeneralRe: Intervention: Coding Guidelines Pin
Munchies_Matt2-Apr-19 21:07
Munchies_Matt2-Apr-19 21:07 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 21:36
mvahoney the codewitch2-Apr-19 21:36 
GeneralRe: Intervention: Coding Guidelines Pin
Member 112647062-Apr-19 20:44
Member 112647062-Apr-19 20:44 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 20:57
mvahoney the codewitch2-Apr-19 20:57 
GeneralRe: Intervention: Coding Guidelines Pin
Member 112647062-Apr-19 21:22
Member 112647062-Apr-19 21:22 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 21:57
mvahoney the codewitch2-Apr-19 21:57 
GeneralRe: Intervention: Coding Guidelines Pin
Member 112647062-Apr-19 22:19
Member 112647062-Apr-19 22:19 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch3-Apr-19 3:43
mvahoney the codewitch3-Apr-19 3:43 
GeneralRe: Intervention: Coding Guidelines Pin
Member 91670572-Apr-19 21:46
Member 91670572-Apr-19 21:46 
GeneralRe: Intervention: Coding Guidelines Pin
honey the codewitch2-Apr-19 22:01
mvahoney the codewitch2-Apr-19 22:01 

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.