Click here to Skip to main content
15,891,951 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
R. Erasmus24-Jun-14 21:02
R. Erasmus24-Jun-14 21:02 
GeneralRe: What are the worst programming habits? Pin
R. Erasmus24-Jun-14 21:06
R. Erasmus24-Jun-14 21:06 
GeneralRe: What are the worst programming habits? Pin
Peter Adam24-Jun-14 21:23
professionalPeter Adam24-Jun-14 21:23 
GeneralRe: What are the worst programming habits? Pin
Stefan Bogdan24-Jun-14 21:23
Stefan Bogdan24-Jun-14 21:23 
GeneralRe: What are the worst programming habits? Pin
Member 906355624-Jun-14 21:52
Member 906355624-Jun-14 21:52 
GeneralRe: What are the worst programming habits? Pin
Rosenne24-Jun-14 22:00
Rosenne24-Jun-14 22:00 
GeneralRe: What are the worst programming habits? Pin
Mel Padden24-Jun-14 22:04
Mel Padden24-Jun-14 22:04 
GeneralRe: What are the worst programming habits? Pin
Fran Porretto25-Jun-14 0:56
Fran Porretto25-Jun-14 0:56 

Allow me to submit something a bit off-axis: a habit of thought.

In more than one place where I've worked, I've encountered persons so confident in their skills that they didn't bother to test "trivial changes." Such "trivial changes" caused major crashes in important products, more often than I (or they) would care to remember. Inasmuch as for many years it's been a large part of my responsibilities to train young software engineers, it's been the very first thing I've pounded on: there is no such thing as a change too small to test.

Some took the advice to heart, but not all -- and when the bills came due, the incredulity of the sinner at issue was often thick enough to slice: "But all I did was...!"

We're fallible, each and every one of us, from the dunces to the geniuses, and from the brand-new graduates to the fifty-year veterans. But an engineer's ego can be resistant to that homily...until he's experienced the consequences on his own hide.

My "favorite" case of excessive confidence involves a young turk -- let's call him Andy, as that was his name -- who was assigned a component in a large monolithic application intended to run on a VAX under VMS. Andy was excessively fond of assembly language, and was eager to write his piece in VAX assembler. I counseled him against it -- the rest of the application was written in C -- but couldn't dissuade him. To shorten the story a bit, some weeks later Andy presented me with his component, which I added to the build without comment. The resulting application ran for approximately twenty seconds before it crashed -- and it didn't just bring down the app; it crashed VMS with a "bug check" error.

The problem was, of course, in Andy's module. I pointed it out to him at once. The subsequent exchange ran roughly as follows:

FWP: Did you test it?

Andy: Well...

FWP: This instruction [I pointed it out] is out of sequence. You have to allocate and enable mapping registers before it will be valid.

Andy: Well...

FWP: I expected you to test this before you brought it to the link.

Andy: But it assembled without errors, so I figured it was right!


Words fail me, friends.

(This message is programming you in ways you cannot detect. Be afraid.)

GeneralRe: What are the worst programming habits? Pin
Gary Wheeler25-Jun-14 2:56
Gary Wheeler25-Jun-14 2:56 
GeneralRe: What are the worst programming habits? Pin
Fran Porretto25-Jun-14 4:45
Fran Porretto25-Jun-14 4:45 
GeneralRe: What are the worst programming habits? Pin
loctrice25-Jun-14 1:09
professionalloctrice25-Jun-14 1:09 
GeneralRe: What are the worst programming habits? Pin
Andres Cassagnes25-Jun-14 2:07
Andres Cassagnes25-Jun-14 2:07 
GeneralRe: What are the worst programming habits? Pin
Tomz_KV25-Jun-14 2:47
Tomz_KV25-Jun-14 2:47 
AnswerRe: What are the worst programming habits? Pin
Jim Knopf jr.25-Jun-14 3:20
Jim Knopf jr.25-Jun-14 3:20 
GeneralRe: What are the worst programming habits? Pin
Member 1070767725-Jun-14 3:45
Member 1070767725-Jun-14 3:45 
GeneralRe: What are the worst programming habits? Pin
MarkTJohnson25-Jun-14 3:48
professionalMarkTJohnson25-Jun-14 3:48 
GeneralRe: What are the worst programming habits? Pin
PIEBALDconsult25-Jun-14 6:08
mvePIEBALDconsult25-Jun-14 6:08 
GeneralRe: What are the worst programming habits? Pin
Aravol Amakiir25-Jun-14 4:00
Aravol Amakiir25-Jun-14 4:00 
GeneralRe: What are the worst programming habits? Pin
Fabio Franco25-Jun-14 4:05
professionalFabio Franco25-Jun-14 4:05 
GeneralRe: What are the worst programming habits? Pin
CoderRon25-Jun-14 4:35
CoderRon25-Jun-14 4:35 
GeneralRe: What are the worst programming habits? Pin
jschell25-Jun-14 12:02
jschell25-Jun-14 12:02 
GeneralRe: What are the worst programming habits? Pin
RafagaX25-Jun-14 13:51
professionalRafagaX25-Jun-14 13:51 
GeneralRe: What are the worst programming habits? Pin
R. Erasmus26-Jun-14 0:48
R. Erasmus26-Jun-14 0:48 
GeneralRe: What are the worst programming habits? Pin
moonwalker7206726-Jun-14 9:33
professionalmoonwalker7206726-Jun-14 9:33 
GeneralRe: What are the worst programming habits? Pin
Naoya Yamaguchi27-Jun-14 0:58
Naoya Yamaguchi27-Jun-14 0:58 

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.