Click here to Skip to main content
15,885,653 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: We need more keys! Pin
Paul Conrad20-Oct-11 7:51
professionalPaul Conrad20-Oct-11 7:51 
GeneralRe: We need more keys! Pin
Sander Rossel20-Oct-11 8:25
professionalSander Rossel20-Oct-11 8:25 
GeneralRe: We need more keys! Pin
prasun.r7-Dec-11 2:21
prasun.r7-Dec-11 2:21 
JokeRe: We need more keys! Pin
Super Lloyd22-Oct-11 0:52
Super Lloyd22-Oct-11 0:52 
GeneralDouble salvo function Pin
red_moon17-Oct-11 18:20
red_moon17-Oct-11 18:20 
GeneralRe: Double salvo function Pin
Bernhard Hiller17-Oct-11 22:46
Bernhard Hiller17-Oct-11 22:46 
GeneralRe: Double salvo function Pin
red_moon17-Oct-11 23:30
red_moon17-Oct-11 23:30 
GeneralRe: Double salvo function Pin
BobJanova17-Oct-11 23:13
BobJanova17-Oct-11 23:13 
I sometimes use kick-out returns to temporarily 'comment out' code I suspect of breaking things. You can still do it in C# (might be an error in Java, I forget), and obviously in things like JavaScript or PHP. Leaving one in is pretty bad though.
GeneralRe: Double salvo function Pin
ekolis18-Oct-11 10:57
ekolis18-Oct-11 10:57 
GeneralRe: Double salvo function Pin
Julien Villers19-Oct-11 3:35
professionalJulien Villers19-Oct-11 3:35 
GeneralRe: Double salvo function Pin
ekolis19-Oct-11 5:03
ekolis19-Oct-11 5:03 
GeneralThis is the least of... Pin
Mel Padden11-Oct-11 5:43
Mel Padden11-Oct-11 5:43 
GeneralRe: This is the least of... PinPopular
ekolis11-Oct-11 7:14
ekolis11-Oct-11 7:14 
GeneralRe: This is the least of... Pin
cpkilekofp14-Oct-11 5:54
cpkilekofp14-Oct-11 5:54 
GeneralRe: This is the least of... Pin
V.18-Oct-11 0:18
professionalV.18-Oct-11 0:18 
GeneralRe: This is the least of... Pin
ekolis18-Oct-11 3:25
ekolis18-Oct-11 3:25 
GeneralRe: This is the least of... Pin
BobJanova19-Oct-11 0:19
BobJanova19-Oct-11 0:19 
GeneralRe: This is the least of... Pin
Paul Conrad11-Oct-11 7:50
professionalPaul Conrad11-Oct-11 7:50 
GeneralRe: This is the least of... Pin
RobCroll13-Oct-11 16:28
RobCroll13-Oct-11 16:28 
GeneralRe: This is the least of... Pin
Julien Villers14-Oct-11 3:24
professionalJulien Villers14-Oct-11 3:24 
AnswerRe: This is the least of... Pin
Reiss14-Oct-11 3:45
professionalReiss14-Oct-11 3:45 
GeneralRe: This is the least of... Pin
BobJanova14-Oct-11 5:20
BobJanova14-Oct-11 5:20 
GeneralRe: This is the least of... Pin
cpkilekofp14-Oct-11 5:59
cpkilekofp14-Oct-11 5:59 
GeneralRe: This is the least of... Pin
Andy Brummer14-Oct-11 10:22
sitebuilderAndy Brummer14-Oct-11 10:22 
GeneralRe: This is the least of... Pin
Reiss17-Oct-11 0:19
professionalReiss17-Oct-11 0: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.