Click here to Skip to main content
15,892,965 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? Pin
harold aptroot24-Jun-14 8:06
harold aptroot24-Jun-14 8:06 
GeneralRe: What are the worst programming habits? Pin
Herbie Mountjoy24-Jun-14 21:40
professionalHerbie Mountjoy24-Jun-14 21:40 
GeneralRe: What are the worst programming habits? Pin
Stefan_Lang24-Jun-14 22:49
Stefan_Lang24-Jun-14 22:49 
GeneralRe: What are the worst programming habits? Pin
harold aptroot24-Jun-14 23:11
harold aptroot24-Jun-14 23:11 
GeneralRe: What are the worst programming habits? Pin
PIEBALDconsult25-Jun-14 8:14
mvePIEBALDconsult25-Jun-14 8:14 
GeneralRe: What are the worst programming habits? Pin
Dan Neely25-Jun-14 2:39
Dan Neely25-Jun-14 2:39 
GeneralRe: What are the worst programming habits? Pin
jeron124-Jun-14 8:08
jeron124-Jun-14 8:08 
GeneralRe: What are the worst programming habits? Pin
OriginalGriff24-Jun-14 8:10
mveOriginalGriff24-Jun-14 8:10 
I do #2, when I specifically have to work with an object
Comments are my major bugbear: I enforce XML comments on all public methods (and add them to non-public ones) and have "warnings as errors" on, so I have to comment my methods as a bare minimum. The rest of the time, I reserve comments for where they are needed.

6) I hate comments that explain exactly what the code is telling you it is doing! I can read the code, dammit - I don't need you to put
C#
if (customer.IsAnIdiot)
   {
   // If the customer is an idiot then we need to handle it.

7) Out of date comments. This gets my goat. Comments are there to help, when the code is complicated and more explanation is needed. So if you change the damn code, change the damn comments! Or you will hear the sound of a soft cough behind you, and it'll be me, with the ClueBat...
8) Variables names that don't reflect the use and / or purpose. Leaving control names at the VS default for example... ClueBat time!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: What are the worst programming habits? Pin
_Maxxx_24-Jun-14 15:39
professional_Maxxx_24-Jun-14 15:39 
GeneralRe: What are the worst programming habits? Pin
Brisingr Aerowing24-Jun-14 18:16
professionalBrisingr Aerowing24-Jun-14 18:16 
GeneralRe: What are the worst programming habits? Pin
Peter Adam25-Jun-14 0:01
professionalPeter Adam25-Jun-14 0:01 
GeneralRe: What are the worst programming habits? Pin
Maximilien24-Jun-14 8:17
Maximilien24-Jun-14 8:17 
GeneralRe: What are the worst programming habits? Pin
dan!sh 24-Jun-14 8:21
professional dan!sh 24-Jun-14 8:21 
GeneralRe: What are the worst programming habits? Pin
JMK-NI24-Jun-14 8:22
professionalJMK-NI24-Jun-14 8:22 
GeneralRe: What are the worst programming habits? Pin
dan!sh 24-Jun-14 8:30
professional dan!sh 24-Jun-14 8:30 
GeneralRe: What are the worst programming habits? Pin
JMK-NI24-Jun-14 8:39
professionalJMK-NI24-Jun-14 8:39 
GeneralRe: What are the worst programming habits? Pin
dan!sh 24-Jun-14 8:43
professional dan!sh 24-Jun-14 8:43 
GeneralRe: What are the worst programming habits? PinPopular
OriginalGriff24-Jun-14 8:49
mveOriginalGriff24-Jun-14 8:49 
GeneralRe: What are the worst programming habits? Pin
dan!sh 24-Jun-14 8:52
professional dan!sh 24-Jun-14 8:52 
GeneralRe: What are the worst programming habits? Pin
  Forogar  24-Jun-14 9:52
professional  Forogar  24-Jun-14 9:52 
GeneralRe: What are the worst programming habits? Pin
OriginalGriff24-Jun-14 8:47
mveOriginalGriff24-Jun-14 8:47 
GeneralRe: What are the worst programming habits? Pin
dan!sh 24-Jun-14 8:50
professional dan!sh 24-Jun-14 8:50 
GeneralRe: What are the worst programming habits? Pin
  Forogar  24-Jun-14 9:59
professional  Forogar  24-Jun-14 9:59 
GeneralRe: What are the worst programming habits? Pin
OriginalGriff24-Jun-14 10:15
mveOriginalGriff24-Jun-14 10:15 
GeneralRe: What are the worst programming habits? Pin
harold aptroot24-Jun-14 8:36
harold aptroot24-Jun-14 8:36 

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.