Click here to Skip to main content
15,909,193 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: What are the worst programming habits? PinPopular
Nish Nishant24-Jun-14 7:50
sitebuilderNish Nishant24-Jun-14 7:50 
GeneralRe: What are the worst programming habits? Pin
R. Giskard Reventlov24-Jun-14 7:58
R. Giskard Reventlov24-Jun-14 7:58 
GeneralRe: What are the worst programming habits? Pin
_Maxxx_24-Jun-14 14:07
professional_Maxxx_24-Jun-14 14:07 
GeneralRe: What are the worst programming habits? Pin
Kirk 1038982125-Jun-14 5:18
Kirk 1038982125-Jun-14 5:18 
GeneralRe: What are the worst programming habits? Pin
Stefan_Lang24-Jun-14 20:45
Stefan_Lang24-Jun-14 20:45 
GeneralRe: What are the worst programming habits? Pin
greldak24-Jun-14 21:41
greldak24-Jun-14 21:41 
GeneralRe: What are the worst programming habits? Pin
jeffreystacks25-Jun-14 2:47
jeffreystacks25-Jun-14 2:47 
GeneralRe: What are the worst programming habits? Pin
obermd25-Jun-14 3:11
obermd25-Jun-14 3:11 
This is how I try to comment. If the code section is complex I'll put comments that refer to the overall comment just to help the reader track where in the logic we're running. For instance

/*
* There are several constraints that need to verified.
*
* Constraint 1:
* Constratin 2:
*
***
*/

In the code I'll put a comment to provide a quick reference to each constraint right before I start checking that constrain.
GeneralRe: What are the worst programming habits? Pin
diverbw25-Jun-14 5:18
professionaldiverbw25-Jun-14 5:18 
GeneralRe: What are the worst programming habits? Pin
Member 460889825-Jun-14 6:45
Member 460889825-Jun-14 6:45 
GeneralRe: What are the worst programming habits? Pin
Nish Nishant24-Jun-14 7:48
sitebuilderNish Nishant24-Jun-14 7:48 
GeneralRe: What are the worst programming habits? Pin
Roger Wright24-Jun-14 7:49
professionalRoger Wright24-Jun-14 7:49 
GeneralRe: What are the worst programming habits? Pin
_Maxxx_24-Jun-14 15:34
professional_Maxxx_24-Jun-14 15:34 
GeneralRe: What are the worst programming habits? Pin
Roger Wright24-Jun-14 17:01
professionalRoger Wright24-Jun-14 17:01 
GeneralRe: What are the worst programming habits? Pin
_Maxxx_24-Jun-14 17:27
professional_Maxxx_24-Jun-14 17:27 
GeneralRe: What are the worst programming habits? Pin
Roger Wright24-Jun-14 19:46
professionalRoger Wright24-Jun-14 19:46 
GeneralRe: What are the worst programming habits? Pin
BrainiacV25-Jun-14 4:30
BrainiacV25-Jun-14 4:30 
GeneralRe: What are the worst programming habits? Pin
pkfox24-Jun-14 19:32
professionalpkfox24-Jun-14 19:32 
GeneralRe: What are the worst programming habits? PinPopular
Stefan_Lang24-Jun-14 20:47
Stefan_Lang24-Jun-14 20:47 
GeneralRe: What are the worst programming habits? Pin
SortaCore24-Jun-14 22:08
SortaCore24-Jun-14 22:08 
GeneralRe: What are the worst programming habits? Pin
Stefan_Lang25-Jun-14 0:42
Stefan_Lang25-Jun-14 0:42 
GeneralRe: What are the worst programming habits? Pin
SortaCore25-Jun-14 0:53
SortaCore25-Jun-14 0:53 
GeneralRe: What are the worst programming habits? Pin
J. C. Morris25-Jun-14 2:22
J. C. Morris25-Jun-14 2:22 
GeneralRe: What are the worst programming habits? Pin
  Forogar  24-Jun-14 7:50
professional  Forogar  24-Jun-14 7:50 
GeneralRe: What are the worst programming habits? Pin
Stefan_Lang24-Jun-14 20:53
Stefan_Lang24-Jun-14 20:53 

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.