Click here to Skip to main content
15,881,882 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: That's what you get when you don't perform code reviews Pin
Eddy Vluggen30-Mar-16 3:26
professionalEddy Vluggen30-Mar-16 3:26 
GeneralRe: That's what you get when you don't perform code reviews Pin
#realJSOP30-Mar-16 7:35
mve#realJSOP30-Mar-16 7:35 
GeneralRe: That's what you get when you don't perform code reviews Pin
Eddy Vluggen30-Mar-16 7:44
professionalEddy Vluggen30-Mar-16 7:44 
GeneralRe: That's what you get when you don't perform code reviews Pin
Cornelius Henning2-Apr-16 14:26
professionalCornelius Henning2-Apr-16 14:26 
GeneralRe: That's what you get when you don't perform code reviews Pin
Eddy Vluggen2-Apr-16 23:35
professionalEddy Vluggen2-Apr-16 23:35 
GeneralRe: That's what you get when you don't perform code reviews Pin
mav.northwind29-Mar-16 0:00
mav.northwind29-Mar-16 0:00 
GeneralRe: That's what you get when you don't perform code reviews Pin
Foothill29-Mar-16 9:53
professionalFoothill29-Mar-16 9:53 
GeneralRe: That's what you get when you don't perform code reviews Pin
#realJSOP30-Mar-16 7:41
mve#realJSOP30-Mar-16 7:41 
Foothill wrote:
I've got a class with 12 constructor parameters but the class represents a single row of data from a database


I don't do that with column data anymore unless I need the object to be initialized a certain way. I just use object initializers.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: That's what you get when you don't perform code reviews Pin
Sander Rossel4-Apr-16 10:51
professionalSander Rossel4-Apr-16 10:51 
GeneralRe: That's what you get when you don't perform code reviews Pin
Duncan Edwards Jones29-Mar-16 0:05
professionalDuncan Edwards Jones29-Mar-16 0:05 
GeneralRe: That's what you get when you don't perform code reviews Pin
#realJSOP30-Mar-16 7:36
mve#realJSOP30-Mar-16 7:36 
GeneralRe: That's what you get when you don't perform code reviews Pin
KarstenK29-Mar-16 1:51
mveKarstenK29-Mar-16 1:51 
GeneralRe: That's what you get when you don't perform code reviews Pin
Cornelius Henning2-Apr-16 14:31
professionalCornelius Henning2-Apr-16 14:31 
GeneralQA blooper Pin
Sascha Lefèvre26-Mar-16 15:11
professionalSascha Lefèvre26-Mar-16 15:11 
GeneralRe: QA blooper Pin
Kyle Moyer28-Mar-16 9:47
Kyle Moyer28-Mar-16 9:47 
GeneralRe: QA blooper Pin
Sascha Lefèvre28-Mar-16 23:57
professionalSascha Lefèvre28-Mar-16 23:57 
GeneralRe: QA blooper Pin
phil.o28-Mar-16 23:53
professionalphil.o28-Mar-16 23:53 
GeneralRe: QA blooper Pin
Sascha Lefèvre29-Mar-16 0:00
professionalSascha Lefèvre29-Mar-16 0:00 
GeneralRe: QA blooper Pin
F-ES Sitecore29-Mar-16 1:08
professionalF-ES Sitecore29-Mar-16 1:08 
GeneralRe: QA blooper Pin
Sentenryu29-Mar-16 1:12
Sentenryu29-Mar-16 1:12 
GeneralRe: QA blooper Pin
Nathan Minier30-Mar-16 1:43
professionalNathan Minier30-Mar-16 1:43 
GeneralRe: QA blooper Pin
Brisingr Aerowing30-Mar-16 2:53
professionalBrisingr Aerowing30-Mar-16 2:53 
GeneralPracticing the Dark Arts of Invocation Pin
Rob Grainger24-Mar-16 6:22
Rob Grainger24-Mar-16 6:22 
GeneralRe: Practicing the Dark Arts of Invocation Pin
Simon_Whale24-Mar-16 6:36
Simon_Whale24-Mar-16 6:36 
GeneralRe: Practicing the Dark Arts of Invocation Pin
Rob Grainger24-Mar-16 13:47
Rob Grainger24-Mar-16 13:47 

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.