Click here to Skip to main content
15,887,683 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
Paul Conrad15-Jul-07 11:59
professionalPaul Conrad15-Jul-07 11:59 
GeneralRe: When normalization goes wrong. Horribly. Pin
martin_hughes15-Jul-07 12:16
martin_hughes15-Jul-07 12:16 
GeneralRe: When normalization goes wrong. Horribly. Pin
Dave Kreskowiak16-Jul-07 4:37
mveDave Kreskowiak16-Jul-07 4:37 
GeneralRe: When normalization goes wrong. Horribly. Pin
Paul Conrad16-Jul-07 9:47
professionalPaul Conrad16-Jul-07 9:47 
GeneralRe: When normalization goes wrong. Horribly. Pin
Dave Kreskowiak16-Jul-07 10:18
mveDave Kreskowiak16-Jul-07 10:18 
GeneralRe: When normalization goes wrong. Horribly. Pin
Paul Conrad16-Jul-07 10:31
professionalPaul Conrad16-Jul-07 10:31 
GeneralRe: When normalization goes wrong. Horribly. Pin
chrishuff16-Jul-07 5:58
chrishuff16-Jul-07 5:58 
GeneralRe: When normalization goes wrong. Horribly. Pin
peterchen15-Jul-07 13:15
peterchen15-Jul-07 13:15 
TheDailyWTF taught me that a "Date" table as such is not uncommon in business applications.

Since it's expensive to calculate holidays, business days, etc. they are calculated upfront and put into a date table that aids queries such as "next business day after" (maybe through a trigger when adding a previously unknown date, or through a script generating all dates up to 2015).





We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
My first real C# project | Linkify!|FoldWithUs! | sighist

GeneralRe: When normalization goes wrong. Horribly. Pin
martin_hughes15-Jul-07 13:35
martin_hughes15-Jul-07 13:35 
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 
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 

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.