Click here to Skip to main content
15,886,518 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: Clever Coder or Annoying SmartAss? Pin
Caslen29-Jul-11 0:49
Caslen29-Jul-11 0:49 
GeneralRe: Clever Coder or Annoying SmartAss? Pin
StM0n29-Jul-11 0:55
StM0n29-Jul-11 0:55 
GeneralRe: Clever Coder or Annoying SmartAss? Pin
BobJanova29-Jul-11 5:43
BobJanova29-Jul-11 5:43 
GeneralRe: Clever Coder or Annoying SmartAss? Pin
richard_k3-Aug-11 16:53
richard_k3-Aug-11 16:53 
GeneralRe: Clever Coder or Annoying SmartAss? Pin
Caslen5-Aug-11 2:09
Caslen5-Aug-11 2:09 
GeneralRe: Clever Coder or Annoying SmartAss? Pin
thoiness1-Sep-11 5:09
thoiness1-Sep-11 5:09 
GeneralComma operator considered harmful Pin
o m n i27-Jul-11 12:42
o m n i27-Jul-11 12:42 
GeneralRe: Comma operator considered harmful Pin
Al_Brown27-Jul-11 22:06
Al_Brown27-Jul-11 22:06 
I hate to say it, but I quite like that code. With a couple of named constants instead of the use of literals 2 and 3 and more consistant spacing it would be nice and succinct.
GeneralRe: Comma operator considered harmful Pin
oggenok6428-Jul-11 0:08
oggenok6428-Jul-11 0:08 
GeneralRe: Comma operator considered harmful Pin
BillW3328-Jul-11 4:03
professionalBillW3328-Jul-11 4:03 
GeneralRe: Comma operator considered harmful Pin
BobJanova29-Jul-11 5:39
BobJanova29-Jul-11 5:39 
GeneralHall of Shame Pin
VE226-Jul-11 3:52
VE226-Jul-11 3:52 
GeneralRe: Hall of Shame Pin
Peter_in_278026-Jul-11 14:50
professionalPeter_in_278026-Jul-11 14:50 
GeneralRe: Hall of Shame Pin
Dalek Dave27-Jul-11 23:01
professionalDalek Dave27-Jul-11 23:01 
GeneralRe: Hall of Shame Pin
Peter_in_278028-Jul-11 0:02
professionalPeter_in_278028-Jul-11 0:02 
GeneralRe: Hall of Shame Pin
TorstenFrings28-Jul-11 3:23
TorstenFrings28-Jul-11 3:23 
GeneralHow to generate a menu [modified] Pin
Keith Barrow24-Jul-11 21:50
professionalKeith Barrow24-Jul-11 21:50 
GeneralRe: How to generate a menu Pin
StM0n29-Jul-11 9:44
StM0n29-Jul-11 9:44 
GeneralRe: How to generate a menu Pin
the headless nick3-Aug-11 23:39
professionalthe headless nick3-Aug-11 23:39 
GeneralRedundancy Pin
Rob Grainger20-Jul-11 0:08
Rob Grainger20-Jul-11 0:08 
GeneralRe: Redundancy Pin
RobCroll20-Jul-11 2:16
RobCroll20-Jul-11 2:16 
GeneralTo Self-Close the BR or Not to Close the BR PinPopular
AspDotNetDev15-Jul-11 8:54
protectorAspDotNetDev15-Jul-11 8:54 
JokeRe: To Self-Close the BR or Not to Close the BR PinPopular
StM0n15-Jul-11 20:11
StM0n15-Jul-11 20:11 
GeneralRe: To Self-Close the BR or Not to Close the BR Pin
Jeroen De Dauw16-Jul-11 6:58
Jeroen De Dauw16-Jul-11 6:58 
GeneralRe: To Self-Close the BR or Not to Close the BR [modified] Pin
dawmail33316-Jul-11 21:19
dawmail33316-Jul-11 21:19 

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.