Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Sri Lanka - England PinmvpNish Sivakumar24-Jun-14 8:36 
GeneralRe: Sri Lanka - England PinprotectorOriginalGriff24-Jun-14 8:38 
GeneralRe: Sri Lanka - England PinmvpNish Sivakumar24-Jun-14 8:39 
GeneralRe: Sri Lanka - England Pinmember d@nish 24-Jun-14 8:45 
GeneralRe: Sri Lanka - England PinprotectorOriginalGriff24-Jun-14 8:52 
GeneralRe: Sri Lanka - England Pinmember d@nish 24-Jun-14 8:54 
GeneralRe: Sri Lanka - England PinmemberDinesh.V.Kumar24-Jun-14 18:14 
GeneralWhat are the worst programming habits? [modified] PinadminChris Maunder24-Jun-14 7:37 
I was thinking about the things that bug me and came up with a short list
  1. No comments. I know - let's have a religious war etc, but I find no comments dangerous.
  2. using o as a variable name. In fact using anything that's not sensible. ctx, dr_rfp_ptr, i2
  3. Bad formatting. It's like walking into a house and being unable to sit down because of empty pizza boxes on the couch
  4. Mystery side-effects in code.
  5. Magic numbers
I'm guilty of 2 of these on occasion. What's your list?
cheers
Chris Maunder


modified 24-Jun-14 15:03pm.

GeneralRe: What are the worst programming habits? PinprofessionalRichard Andrew x6424-Jun-14 7:43 
GeneralRe: What are the worst programming habits? PinmvpNish Sivakumar24-Jun-14 7:48 
GeneralRe: What are the worst programming habits? PinprofessionalGSN.CP3-Jul-14 17:48 
GeneralRe: What are the worst programming habits? PinmemberLuiz Felipe Stangarlin14-Jul-14 11:06 
GeneralRe: What are the worst programming habits? PinprofessionalRichard Andrew x6414-Jul-14 11:14 
GeneralRe: What are the worst programming habits? Pinmembermark merrens24-Jun-14 7:47 
GeneralRe: What are the worst programming habits? PinmvpNish Sivakumar24-Jun-14 7:50 
GeneralRe: What are the worst programming habits? Pinmembermark merrens24-Jun-14 7:58 
GeneralRe: What are the worst programming habits? Pinprofessional_Maxxx_24-Jun-14 14:07 
GeneralRe: What are the worst programming habits? PinmemberMember 1038982125-Jun-14 5:18 
GeneralRe: What are the worst programming habits? PinmemberStefan_Lang24-Jun-14 20:45 
GeneralRe: What are the worst programming habits? Pinmembergreldak24-Jun-14 21:41 
GeneralRe: What are the worst programming habits? Pinmemberjeffreystacks25-Jun-14 2:47 
GeneralRe: What are the worst programming habits? Pinmemberobermd25-Jun-14 3:11 
GeneralRe: What are the worst programming habits? Pinmemberdiverbw25-Jun-14 5:18 
GeneralRe: What are the worst programming habits? PinmemberMember 460889825-Jun-14 6:45 
GeneralRe: What are the worst programming habits? PinmvpNish Sivakumar24-Jun-14 7:48 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 1 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid