Click here to Skip to main content
15,881,281 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: I don't got time for no stinking opera! Pin
enhzflep23-Jul-12 2:12
enhzflep23-Jul-12 2:12 
GeneralRe: I don't got time for no stinking opera! Pin
Chris Maunder30-Jul-12 15:16
cofounderChris Maunder30-Jul-12 15:16 
GeneralRe: I don't got time for no stinking opera! Pin
Brisingr Aerowing30-Jul-12 15:24
professionalBrisingr Aerowing30-Jul-12 15:24 
GeneralRe: I don't got time for no stinking opera! Pin
enhzflep23-Jul-12 2:11
enhzflep23-Jul-12 2:11 
GeneralWhat condition, or lack thereof, am I even testing for again??? Pin
nedmech20-Jul-12 13:24
nedmech20-Jul-12 13:24 
GeneralRe: What condition, or lack thereof, am I even testing for again??? Pin
Brisingr Aerowing21-Jul-12 4:27
professionalBrisingr Aerowing21-Jul-12 4:27 
GeneralRe: What condition, or lack thereof, am I even testing for again??? Pin
Bernhard Hiller23-Jul-12 2:21
Bernhard Hiller23-Jul-12 2:21 
GeneralIt's duplicated, too lazy to fix. Pin
CocusArg19-Jul-12 9:15
CocusArg19-Jul-12 9:15 
VB
'i've added that, although duplication of process (because im loading stuff)
 ' lets see
 Select Case ListIT
 Case 1: nList = oArti.List1
 Case 2: nList = oArti.List2
 Case 3: nList = oArti.List3
 Case 4: nList = oArti.List4
 Case 5: nList = oArti.List5
 Case 6: nList = oArti.List6
 Case 7: nList = oArti.List7
 Case 8: nList = oArti.List8
 Case 9: nList = oArti.List9
 Case Else
   'in theory, it should never came here
   nList = 1
 End Select


I think, array is a vulgar word for someone. Funny thing, I didn't understood what in the name of lord does that (variables were not descriptive about content they have) Also, funny comments! Laugh | :laugh: (code was originally written in spanish)
GeneralRe: It's duplicated, too lazy to fix. PinPopular
Andrei Straut19-Jul-12 23:06
Andrei Straut19-Jul-12 23:06 
GeneralRe: It's duplicated, too lazy to fix. Pin
CDP180220-Jul-12 0:21
CDP180220-Jul-12 0:21 
RantRe: It's duplicated, too lazy to fix. Pin
Andrei Straut20-Jul-12 2:57
Andrei Straut20-Jul-12 2:57 
GeneralRe: It's duplicated, too lazy to fix. Pin
CDP180220-Jul-12 3:18
CDP180220-Jul-12 3:18 
GeneralRe: It's duplicated, too lazy to fix. Pin
Andrei Straut20-Jul-12 3:31
Andrei Straut20-Jul-12 3:31 
GeneralRe: It's duplicated, too lazy to fix. Pin
CDP180220-Jul-12 3:38
CDP180220-Jul-12 3:38 
GeneralEfficiency redux PinPopular
John Hunley18-Jul-12 5:51
John Hunley18-Jul-12 5:51 
JokeRe: Efficiency redux Pin
dan!sh 18-Jul-12 5:54
professional dan!sh 18-Jul-12 5:54 
GeneralRe: Efficiency redux Pin
John Hunley18-Jul-12 9:02
John Hunley18-Jul-12 9:02 
GeneralRe: Efficiency redux Pin
dan!sh 18-Jul-12 17:14
professional dan!sh 18-Jul-12 17:14 
GeneralRe: Efficiency redux Pin
BillW3318-Jul-12 6:40
professionalBillW3318-Jul-12 6:40 
GeneralRe: Efficiency redux Pin
Andrei Straut18-Jul-12 8:08
Andrei Straut18-Jul-12 8:08 
GeneralRe: Efficiency redux PinPopular
Brady Kelly18-Jul-12 19:25
Brady Kelly18-Jul-12 19:25 
GeneralRe: Efficiency redux Pin
BillW3319-Jul-12 1:45
professionalBillW3319-Jul-12 1:45 
GeneralRe: Efficiency redux Pin
Andrei Straut19-Jul-12 3:26
Andrei Straut19-Jul-12 3:26 
GeneralRe: Efficiency redux Pin
BillW3319-Jul-12 7:16
professionalBillW3319-Jul-12 7:16 
GeneralRe: Efficiency redux Pin
Andrei Straut19-Jul-12 9:03
Andrei Straut19-Jul-12 9:03 

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.