Click here to Skip to main content
15,860,943 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.

 
RantRe: Conversion logic Pin
Samer Aburabie16-May-09 22:05
Samer Aburabie16-May-09 22:05 
GeneralRe: Conversion logic PinPopular
PIEBALDconsult17-May-09 3:20
mvePIEBALDconsult17-May-09 3:20 
GeneralRe: Conversion logic Pin
Samer Aburabie17-May-09 4:14
Samer Aburabie17-May-09 4:14 
GeneralJust a MessageBox :S [modified] Pin
Samer Aburabie15-May-09 5:12
Samer Aburabie15-May-09 5:12 
GeneralRe: Just a MessageBox :S Pin
PIEBALDconsult15-May-09 10:33
mvePIEBALDconsult15-May-09 10:33 
GeneralRe: Just a MessageBox :S Pin
Jeroen De Dauw15-May-09 10:54
Jeroen De Dauw15-May-09 10:54 
GeneralRe: Just a MessageBox :S PinPopular
J4amieC21-May-09 1:19
J4amieC21-May-09 1:19 
GeneralRe: Just a MessageBox :S Pin
BillW3311-Aug-09 8:11
professionalBillW3311-Aug-09 8:11 
If it is intended for use in production code it is a real horror. If it is just a diagnostic messagebox that will be removed for production code then it is not too bad; the programmer has to be sure to remove it though Wink | ;)

Just because the code works, it doesn't mean that it is good code.

JokeFalls under worse practices..maybe? I don't know. Pin
puromtec114-May-09 6:59
puromtec114-May-09 6:59 
GeneralRe: Falls under worse practices..maybe? I don't know. Pin
Chris Meech14-May-09 8:15
Chris Meech14-May-09 8:15 
GeneralRe: Falls under worse practices..maybe? I don't know. Pin
PIEBALDconsult14-May-09 12:52
mvePIEBALDconsult14-May-09 12:52 
GeneralWho is teaching these people? PinPopular
OriginalGriff12-May-09 22:50
mveOriginalGriff12-May-09 22:50 
GeneralRe: Who is teaching these people? Pin
zlezj12-May-09 23:14
zlezj12-May-09 23:14 
GeneralRe: Who is teaching these people? Pin
Michael Bookatz12-May-09 23:20
Michael Bookatz12-May-09 23:20 
GeneralRe: Who is teaching these people? Pin
0x3c013-May-09 0:10
0x3c013-May-09 0:10 
GeneralRe: Who is teaching these people? Pin
Mycroft Holmes13-May-09 0:57
professionalMycroft Holmes13-May-09 0:57 
GeneralRe: Who is teaching these people? Pin
0x3c013-May-09 1:17
0x3c013-May-09 1:17 
GeneralRe: Who is teaching these people? Pin
OriginalGriff13-May-09 8:59
mveOriginalGriff13-May-09 8:59 
GeneralRe: Who is teaching these people? Pin
PIEBALDconsult13-May-09 3:31
mvePIEBALDconsult13-May-09 3:31 
GeneralRe: Who is teaching these people? Pin
VentsyV13-May-09 8:03
VentsyV13-May-09 8:03 
GeneralRe: Who is teaching these people? Pin
I am BATMAN13-May-09 8:22
I am BATMAN13-May-09 8:22 
GeneralRe: Who is teaching these people? Pin
Russell Jones14-May-09 5:01
Russell Jones14-May-09 5:01 
GeneralRe: Who is teaching these people? Pin
Fatbuddha 113-May-09 23:40
Fatbuddha 113-May-09 23:40 
GeneralRe: Who is teaching these people? Pin
SalarSoft13-May-09 10:53
SalarSoft13-May-09 10:53 
GeneralRe: Who is teaching these people? Pin
Russell Jones14-May-09 5:04
Russell Jones14-May-09 5:04 

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.