Click here to Skip to main content
15,898,035 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: When normalization goes wrong. Horribly. Pin
peterchen15-Jul-07 14:01
peterchen15-Jul-07 14:01 
GeneralRe: When normalization goes wrong. Horribly. Pin
Paul Conrad15-Jul-07 14:03
professionalPaul Conrad15-Jul-07 14:03 
JokeRe: When normalization goes wrong. Horribly. Pin
PIEBALDconsult15-Jul-07 15:41
mvePIEBALDconsult15-Jul-07 15:41 
GeneralRe: When normalization goes wrong. Horribly. Pin
Tristan Rhodes16-Jul-07 2:03
Tristan Rhodes16-Jul-07 2:03 
GeneralRe: When normalization goes wrong. Horribly. Pin
PaulPrice16-Jul-07 7:17
PaulPrice16-Jul-07 7:17 
GeneralRe: When normalization goes wrong. Horribly. Pin
Glen Murtagh16-Jul-07 11:57
Glen Murtagh16-Jul-07 11:57 
GeneralRe: When normalization goes wrong. Horribly. Pin
Bert delaVega20-Jul-07 7:48
Bert delaVega20-Jul-07 7:48 
GeneralProgrammed Developers to Enrage Us Pin
Vasudevan Deepak Kumar12-Jul-07 22:47
Vasudevan Deepak Kumar12-Jul-07 22:47 
A selected set of programmers always exist who are always inclined to enrage us. A friend of mine, who is working in Bangalore in a small company wanted a third party review of a bit of code. I helped him out during the previous weekend.

A very interesting observation. A developer had accessed a particular DB item from Cache. When we asked him what happens if the Cache gets NULL, he was telling the following points:

1) The cache never gets NULL.
2) When the cache item *misses out*, we have to restart the IIS or Windows so that on next attempt, cache would be replenished.


A simple automatic NULL check, cache replenish and DB call was at all required. I don't know what caused him to spin this story. I guesses are:

1) He was trying to 'cover' his blunder.
2) He was sincerely ignorant over the Web fundamentals.
3) He was of the opinion that We, the Web server administrators and program managers are just dumb cabbages who have nothing to do but just have thier asses glued to the chairs near the server monitor 365x24x7.

Any other speculations?

Vasudevan Deepak Kumar
Personal Homepage
Tech Gossips

JokeRe: Programmed Developers to Enrage Us Pin
Mike Dimmick12-Jul-07 23:37
Mike Dimmick12-Jul-07 23:37 
GeneralRe: Programmed Developers to Enrage Us Pin
WillemM13-Jul-07 6:20
WillemM13-Jul-07 6:20 
GeneralRe: Programmed Developers to Enrage Us Pin
Dan Neely13-Jul-07 2:20
Dan Neely13-Jul-07 2:20 
GeneralRe: Programmed Developers to Enrage Us Pin
Vasudevan Deepak Kumar13-Jul-07 7:01
Vasudevan Deepak Kumar13-Jul-07 7:01 
GeneralRe: Programmed Developers to Enrage Us Pin
Dan Neely13-Jul-07 12:25
Dan Neely13-Jul-07 12:25 
GeneralRe: Programmed Developers to Enrage Us Pin
Vasudevan Deepak Kumar13-Jul-07 22:46
Vasudevan Deepak Kumar13-Jul-07 22:46 
GeneralRe: Programmed Developers to Enrage Us Pin
Dan Neely14-Jul-07 3:11
Dan Neely14-Jul-07 3:11 
AnswerRe: Programmed Developers to Enrage Us Pin
pbraun20-Jul-07 9:31
pbraun20-Jul-07 9:31 
GeneralRe: Programmed Developers to Enrage Us Pin
jcdevnet13-Jul-07 4:26
jcdevnet13-Jul-07 4:26 
GeneralRe: Programmed Developers to Enrage Us Pin
PhilDanger13-Jul-07 4:32
PhilDanger13-Jul-07 4:32 
GeneralRe: Programmed Developers to Enrage Us Pin
jcdevnet13-Jul-07 4:39
jcdevnet13-Jul-07 4:39 
GeneralRe: Programmed Developers to Enrage Us Pin
Vasudevan Deepak Kumar13-Jul-07 7:09
Vasudevan Deepak Kumar13-Jul-07 7:09 
JokeRe: Programmed Developers to Enrage Us Pin
MidwestLimey13-Jul-07 4:40
professionalMidwestLimey13-Jul-07 4:40 
GeneralRe: Programmed Developers to Enrage Us Pin
WillemM13-Jul-07 6:21
WillemM13-Jul-07 6:21 
GeneralRe: Programmed Developers to Enrage Us Pin
Paul Conrad13-Jul-07 10:34
professionalPaul Conrad13-Jul-07 10:34 
GeneralRe: Programmed Developers to Enrage Us Pin
Vasudevan Deepak Kumar13-Jul-07 7:10
Vasudevan Deepak Kumar13-Jul-07 7:10 
GeneralRe: Programmed Developers to Enrage Us Pin
Sathesh Sakthivel16-Jul-07 17:45
Sathesh Sakthivel16-Jul-07 17:45 

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.