Click here to Skip to main content
15,891,674 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: Get me a count.... Pin
Rajesh R Subramanian2-Sep-07 23:39
professionalRajesh R Subramanian2-Sep-07 23:39 
GeneralRe: Get me a count.... Pin
Ted Ferenc3-Sep-07 0:24
Ted Ferenc3-Sep-07 0:24 
GeneralI came across this one too Pin
r_maiya29-Aug-07 10:30
r_maiya29-Aug-07 10:30 
GeneralRe: I came across this one too Pin
PIEBALDconsult29-Aug-07 10:48
mvePIEBALDconsult29-Aug-07 10:48 
GeneralExcel Pin
gantww28-Aug-07 9:52
gantww28-Aug-07 9:52 
GeneralRe: Excel Pin
PIEBALDconsult28-Aug-07 10:05
mvePIEBALDconsult28-Aug-07 10:05 
AnswerRe: Excel Pin
chrishuff28-Aug-07 10:28
chrishuff28-Aug-07 10:28 
GeneralInfrastructure... just because. Pin
Rob Achmann24-Aug-07 5:47
Rob Achmann24-Aug-07 5:47 
Well, I can't write all the code here because I'd have to write it out 5 times.

Ok, we were supposed to use this company's architeture for a new project because we deal with that company for other unrelated technology. I guess the executive thought that since they do one thing ok, they must have a good architecture for this unrelated technology as well.

So...I check into it. Now I suppose they got an idea in their heads, and that was that "no layer of architecture will trust any other layer of architecture, and the data transfer object will not trust anything". Maniacal Coding. They had identical business code duplicated in at least 5 places because each layer dealt with, and massaged, the data on it's own. I say 5 because, not only was there the logical tiers of processing, but everything existed as a service, and each layer processed each service to see if the user, who existed in a company, in a region, had access to that service in that tier. After all that, then each service would also run its little happy fingers through the data. By the time the data reached the database, the bits were worn pretty thin (hobo data).

The user interface was the same: the business analyst just stopped and said 'no f****** way I'm teaching the client to use this thing', after taking over 30 min *just* to set up a user just with the ability to log in. Hahahah

I threw it all out, and said "Thanks for your suggestion.Thanks for your suggestion.Thanks for your suggestion.Thanks for your suggestion."




GaltSalt
maker of .Net thingys

GeneralRe: Infrastructure... just because. Pin
Lutosław25-Aug-07 8:29
Lutosław25-Aug-07 8:29 
GeneralRe: Infrastructure... just because. Pin
Burnsys228-Aug-07 2:26
Burnsys228-Aug-07 2:26 
GeneralWow Pin
eggsovereasy23-Aug-07 4:36
eggsovereasy23-Aug-07 4:36 
GeneralRe: Wow Pin
DavidNohejl23-Aug-07 4:57
DavidNohejl23-Aug-07 4:57 
GeneralRe: Wow Pin
eggsovereasy23-Aug-07 8:12
eggsovereasy23-Aug-07 8:12 
GeneralRe: Wow Pin
J a a n s23-Aug-07 21:25
professionalJ a a n s23-Aug-07 21:25 
GeneralRe: Wow Pin
eggsovereasy24-Aug-07 9:15
eggsovereasy24-Aug-07 9:15 
GeneralRe: Wow Pin
Lutosław25-Aug-07 8:34
Lutosław25-Aug-07 8:34 
GeneralMy boss! [modified] Pin
Burnsys218-Aug-07 14:56
Burnsys218-Aug-07 14:56 
GeneralRe: My boss! Pin
BadKarma18-Aug-07 21:27
BadKarma18-Aug-07 21:27 
GeneralRe: My boss! Pin
Pascal Ganaye20-Aug-07 3:17
Pascal Ganaye20-Aug-07 3:17 
GeneralRe: My boss! Pin
KarstenK20-Aug-07 1:21
mveKarstenK20-Aug-07 1:21 
JokeRe: My boss! Pin
martin_hughes20-Aug-07 5:29
martin_hughes20-Aug-07 5:29 
GeneralRe: My boss! Pin
StevenWalsh20-Aug-07 5:45
StevenWalsh20-Aug-07 5:45 
GeneralRe: My boss! Pin
Burnsys220-Aug-07 7:30
Burnsys220-Aug-07 7:30 
GeneralRe: My boss! Pin
Vasudevan Deepak Kumar23-Aug-07 19:59
Vasudevan Deepak Kumar23-Aug-07 19:59 
GeneralRe: My boss! Pin
Burnsys220-Aug-07 7:32
Burnsys220-Aug-07 7:32 

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.