Click here to Skip to main content
15,900,378 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: [Message Deleted] Pin
Luc Pattyn26-Mar-09 9:05
sitebuilderLuc Pattyn26-Mar-09 9:05 
GeneralRe: Initializing an array of structures Pin
dighn23-Mar-09 13:13
dighn23-Mar-09 13:13 
GeneralRe: Initializing an array of structures Pin
PIEBALDconsult23-Mar-09 14:46
mvePIEBALDconsult23-Mar-09 14:46 
GeneralRe: Initializing an array of structures Pin
Luc Pattyn23-Mar-09 16:08
sitebuilderLuc Pattyn23-Mar-09 16:08 
GeneralRe: Initializing an array of structures Pin
PIEBALDconsult23-Mar-09 16:23
mvePIEBALDconsult23-Mar-09 16:23 
JokeRe: Initializing an array of structures Pin
Mladen Janković23-Mar-09 16:34
Mladen Janković23-Mar-09 16:34 
JokeRe: Initializing an array of structures Pin
Yusuf24-Mar-09 5:28
Yusuf24-Mar-09 5:28 
GeneralRe: Initializing an array of structures Pin
peterchen2-Apr-09 2:42
peterchen2-Apr-09 2:42 
That would go

// Set field to 1:
anArray
 [
   // index
   0
 ].
  // field name
  field1 
 = 
 // value
 1;


Don't attribute to stupidity what can be equally well explained by buerocracy.
My latest article | Linkify!| FoldWithUs! | sighist


GeneralThe "Yeah baby" increment way... PinPopular
akyriako7823-Mar-09 5:12
akyriako7823-Mar-09 5:12 
GeneralRe: The "Yeah baby" increment way... Pin
Thomas Weller23-Mar-09 7:48
Thomas Weller23-Mar-09 7:48 
GeneralRe: The "Yeah baby" increment way... Pin
akyriako7823-Mar-09 20:39
akyriako7823-Mar-09 20:39 
GeneralRe: The "Yeah baby" increment way... Pin
annathor24-Mar-09 1:04
annathor24-Mar-09 1:04 
GeneralRe: The "Yeah baby" increment way... Pin
Yusuf24-Mar-09 5:34
Yusuf24-Mar-09 5:34 
GeneralRe: The "Yeah baby" increment way... Pin
Viral Upadhyay25-Mar-09 19:52
Viral Upadhyay25-Mar-09 19:52 
GeneralRe: The "Yeah baby" increment way... Pin
Fatbuddha 123-Mar-09 23:36
Fatbuddha 123-Mar-09 23:36 
GeneralRe: The "Yeah baby" increment way... Pin
John R. Shaw29-Mar-09 19:52
John R. Shaw29-Mar-09 19:52 
RantMessage Removed Pin
30-Mar-09 11:03
professionalN_tro_P30-Mar-09 11:03 
GeneralRe: The "Yeah baby" increment way... Pin
akyriako782-Apr-09 2:01
akyriako782-Apr-09 2:01 
JokeRe: The "Yeah baby" increment way... Pin
Niklas L31-Mar-09 3:22
Niklas L31-Mar-09 3:22 
GeneralI just saw this beauty today... Pin
El Bob-O20-Mar-09 10:25
El Bob-O20-Mar-09 10:25 
GeneralRe: I just saw this beauty today... Pin
Dan Neely20-Mar-09 10:42
Dan Neely20-Mar-09 10:42 
GeneralRe: I just saw this beauty today... Pin
CurtD20-Mar-09 14:49
CurtD20-Mar-09 14:49 
GeneralRe: I just saw this beauty today... PinPopular
N a v a n e e t h21-Mar-09 17:15
N a v a n e e t h21-Mar-09 17:15 
GeneralRe: I just saw this beauty today... Pin
Dan Neely23-Mar-09 2:19
Dan Neely23-Mar-09 2:19 
GeneralRe: I just saw this beauty today... Pin
WilliamSauron23-Mar-09 4:32
WilliamSauron23-Mar-09 4: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.