Click here to Skip to main content
15,919,434 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: 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 Pin
AspDotNetDev15-Jul-11 8:54
protectorAspDotNetDev15-Jul-11 8:54 
JokeRe: To Self-Close the BR or Not to Close the BR Pin
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 
GeneralRe: To Self-Close the BR or Not to Close the BR Pin
MikeD 226-Jul-11 4:14
MikeD 226-Jul-11 4:14 
GeneralRe: To Self-Close the BR or Not to Close the BR Pin
Naruki26-Jul-11 5:22
Naruki26-Jul-11 5:22 
GeneralRe: To Self-Close the BR or Not to Close the BR Pin
Ravi Sant26-Jul-11 5:56
Ravi Sant26-Jul-11 5:56 
GeneralRe: To Self-Close the BR or Not to Close the BR Pin
BobJanova26-Jul-11 6:09
BobJanova26-Jul-11 6:09 
GeneralJumping on the Band wagon Pin
icestatue14-Jul-11 15:55
icestatue14-Jul-11 15:55 
I have no idea why so many people are touting the new MVC3 model and Razor view engine. My point here is when classic ASP was the thing we mixed code and HTML on the same page and by god does it look like hell when you do. So when Microsoft allowed you to inline code into your application it really did nothing to stop lousy code practices. And placing all the logic into the code behind was a much cleaner separation of concerns then ASP ever was. But now we have come full circle with Razor which promotes mixed mode files again. Granted it looks better then classic ASP it doesn't look as clean as ASP.NET using code behind. There still needs to be a better way for auto generated code to be passed around without resorting to concatenation of mixed forms of code. Its just sloppy.
nothing

GeneralRe: Jumping on the Band wagon Pin
dawmail33316-Jul-11 21:17
dawmail33316-Jul-11 21:17 
GeneralRe: Jumping on the Band wagon Pin
Johann Gerell26-Jul-11 2:27
Johann Gerell26-Jul-11 2:27 
GeneralWhen an error just doesn't give you enough information Pin
OriginalGriff13-Jul-11 8:53
mveOriginalGriff13-Jul-11 8:53 
GeneralRe: When an error just doesn't give you enough information Pin
fjdiewornncalwe13-Jul-11 10:18
professionalfjdiewornncalwe13-Jul-11 10:18 
GeneralRe: When an error just doesn't give you enough information Pin
CDP180213-Jul-11 22:23
CDP180213-Jul-11 22: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.