Click here to Skip to main content
15,881,139 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: Wow, Just Wow Pin
Rob Grainger7-Aug-14 7:45
Rob Grainger7-Aug-14 7:45 
GeneralRe: Wow, Just Wow Pin
fixthebugg7-Aug-14 10:11
fixthebugg7-Aug-14 10:11 
GeneralRe: Wow, Just Wow Pin
Brisingr Aerowing7-Aug-14 14:18
professionalBrisingr Aerowing7-Aug-14 14:18 
GeneralRe: Wow, Just Wow Pin
Bernhard Hiller7-Aug-14 21:43
Bernhard Hiller7-Aug-14 21:43 
AnswerRe: Wow, Just Wow Pin
Ravi Bhavnani10-Aug-14 10:53
professionalRavi Bhavnani10-Aug-14 10:53 
GeneralRe: Wow, Just Wow Pin
Marc Koutzarov29-Aug-14 21:48
professionalMarc Koutzarov29-Aug-14 21:48 
GeneralMore great naming Pin
Rob Grainger7-Aug-14 5:37
Rob Grainger7-Aug-14 5:37 
RantHaving enough data Pin
loctrice7-Aug-14 4:42
professionalloctrice7-Aug-14 4:42 
Part of my job is to write stuff in MVC, c#, Sql, etc.. and replace our outdated systems. Doing this requires supporting the older legacy stuff until I can replace it.

I'm currently writing a program that is very important to our company. The task I have now is to get some data out of this system and move it over to a database (in access). I can't skip this database (yet) because so much stuff works off of it. No big deal, the goal is to get rid of it, but for now just xfer some data so everything can function as per normal.


62 columns. The "main" table in this database has 62 columns. Lets not get started on data types, misused fields, etc. So I figured I'd just power through it. Nothing to do, it has to be done. Well, then I get a field to small error. Now I have to debug it.

So terrible structure aside, the "control" copy of this database (we have a new instance per client) has a definition for said field that is unstable. It's one that needs to be changed per use to fit the data that's being inserted. This isn't documented anywhere.

I'll be glad when I get this finished so I can move on.
Elephant elephant elephant, sunshine sunshine sunshine

GeneralRe: Having enough data PinPopular
PIEBALDconsult7-Aug-14 5:04
mvePIEBALDconsult7-Aug-14 5:04 
GeneralThe first time, and the first time 2. Pin
Rob Grainger7-Aug-14 0:27
Rob Grainger7-Aug-14 0:27 
GeneralRe: The first time, and the first time 2. Pin
OriginalGriff7-Aug-14 0:56
mveOriginalGriff7-Aug-14 0:56 
GeneralRe: The first time, and the first time 2. Pin
Rob Grainger7-Aug-14 1:04
Rob Grainger7-Aug-14 1:04 
GeneralRe: The first time, and the first time 2. Pin
Dave Kreskowiak7-Aug-14 3:01
mveDave Kreskowiak7-Aug-14 3:01 
RantRe: The first time, and the first time 2. Pin
Kornfeld Eliyahu Peter7-Aug-14 3:32
professionalKornfeld Eliyahu Peter7-Aug-14 3:32 
GeneralRe: The first time, and the first time 2. Pin
Dave Kreskowiak7-Aug-14 5:02
mveDave Kreskowiak7-Aug-14 5:02 
GeneralRe: The first time, and the first time 2. Pin
Rob Grainger7-Aug-14 5:34
Rob Grainger7-Aug-14 5:34 
GeneralRe: The first time, and the first time 2. Pin
Dave Kreskowiak7-Aug-14 6:42
mveDave Kreskowiak7-Aug-14 6:42 
GeneralRe: The first time, and the first time 2. Pin
Rob Grainger7-Aug-14 5:35
Rob Grainger7-Aug-14 5:35 
GeneralRe: The first time, and the first time 2. Pin
PIEBALDconsult8-Aug-14 9:29
mvePIEBALDconsult8-Aug-14 9:29 
GeneralRe: The first time, and the first time 2. Pin
  Forogar  7-Aug-14 4:00
professional  Forogar  7-Aug-14 4:00 
JokeRe: The first time, and the first time 2. Pin
Paul M Watt7-Aug-14 6:04
mentorPaul M Watt7-Aug-14 6:04 
GeneralRe: The first time, and the first time 2. Pin
Sander Rossel7-Aug-14 7:39
professionalSander Rossel7-Aug-14 7:39 
GeneralSetProperty!!! PinPopular
Super Lloyd5-Aug-14 21:03
Super Lloyd5-Aug-14 21:03 
GeneralRe: SetProperty!!! Pin
Bernhard Hiller5-Aug-14 21:13
Bernhard Hiller5-Aug-14 21:13 
GeneralRe: SetProperty!!! Pin
Duncan Edwards Jones5-Aug-14 22:02
professionalDuncan Edwards Jones5-Aug-14 22:02 

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.