Click here to Skip to main content
15,887,350 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: Looks like a database call obsession to me… Pin
StM0n31-May-11 20:53
StM0n31-May-11 20:53 
GeneralRe: Looks like a database call obsession to me… Pin
RobCroll1-Jun-11 0:00
RobCroll1-Jun-11 0:00 
GeneralBad, very bad, test unit test.... PinPopular
richiej25-May-11 22:59
richiej25-May-11 22:59 
GeneralRe: Bad, very bad, test unit test.... Pin
R. Giskard Reventlov25-May-11 23:21
R. Giskard Reventlov25-May-11 23:21 
GeneralRe: Bad, very bad, test unit test.... Pin
Al_Brown26-May-11 1:55
Al_Brown26-May-11 1:55 
GeneralRe: Bad, very bad, test unit test.... Pin
Samuel Cragg26-May-11 2:54
Samuel Cragg26-May-11 2:54 
GeneralRe: Bad, very bad, test unit test.... Pin
Al_Brown26-May-11 3:03
Al_Brown26-May-11 3:03 
GeneralVBA data storage the text box way PinPopular
hairy_hats25-May-11 0:55
hairy_hats25-May-11 0:55 
Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number.

Colleague: I didn't know about arrays.

Me: (stunned silence)

Colleague: I use gotos to get to the code that reads data from the right text box.

Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult.

Colleague: Really?

Me: D'Oh! | :doh:
GeneralRe: VBA data storage the text box way Pin
fjdiewornncalwe25-May-11 2:40
professionalfjdiewornncalwe25-May-11 2:40 
JokeRe: VBA data storage the text box way Pin
StM0n25-May-11 3:19
StM0n25-May-11 3:19 
GeneralRe: VBA data storage the text box way PinPopular
AspDotNetDev25-May-11 11:27
protectorAspDotNetDev25-May-11 11:27 
GeneralRe: VBA data storage the text box way Pin
Firo Atrum Ventus25-May-11 15:16
Firo Atrum Ventus25-May-11 15:16 
GeneralRe: VBA data storage the text box way PinPopular
StM0n25-May-11 20:08
StM0n25-May-11 20:08 
GeneralRe: VBA data storage the text box way Pin
CDP180225-May-11 22:35
CDP180225-May-11 22:35 
GeneralRe: VBA data storage the text box way Pin
RobCroll25-May-11 4:01
RobCroll25-May-11 4:01 
GeneralRe: VBA data storage the text box way Pin
Nathan D Cook25-May-11 7:27
Nathan D Cook25-May-11 7:27 
GeneralRe: VBA data storage the text box way Pin
musefan26-May-11 2:56
musefan26-May-11 2:56 
GeneralRe: VBA data storage the text box way Pin
BillW3326-May-11 5:41
professionalBillW3326-May-11 5:41 
GeneralRe: VBA data storage the text box way Pin
BillW3326-May-11 5:38
professionalBillW3326-May-11 5:38 
GeneralRe: VBA data storage the text box way Pin
Rob Grainger1-Jun-11 22:59
Rob Grainger1-Jun-11 22:59 
GeneralStep Right Up, Get Yer Session 'ere Pin
AspDotNetDev20-May-11 8:53
protectorAspDotNetDev20-May-11 8:53 
GeneralRe: Step Right Up, Get Yer Session 'ere Pin
Chris Meech20-May-11 9:10
Chris Meech20-May-11 9:10 
GeneralRe: Step Right Up, Get Yer Session 'ere Pin
Jeroen De Dauw23-May-11 7:52
Jeroen De Dauw23-May-11 7:52 
GeneralRe: Step Right Up, Get Yer Session 'ere Pin
Luc Pattyn20-May-11 9:17
sitebuilderLuc Pattyn20-May-11 9:17 
GeneralRe: Step Right Up, Get Yer Session 'ere Pin
AspDotNetDev20-May-11 9:23
protectorAspDotNetDev20-May-11 9:23 

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.