Click here to Skip to main content
15,881,559 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: Coded insults PinPopular
krubach21-Oct-12 0:42
krubach21-Oct-12 0:42 
GeneralRe: Coded insults Pin
Bob10003-Oct-12 5:56
professionalBob10003-Oct-12 5:56 
GeneralRe: Coded insults Pin
JohnLBevan30-Sep-12 22:46
professionalJohnLBevan30-Sep-12 22:46 
GeneralRe: Coded insults Pin
Timothy J Sygitowicz1-Oct-12 5:10
Timothy J Sygitowicz1-Oct-12 5:10 
GeneralRe: Coded insults Pin
VallarasuS1-Oct-12 5:55
VallarasuS1-Oct-12 5:55 
GeneralRe: Coded insults PinPopular
patbob1-Oct-12 5:27
patbob1-Oct-12 5:27 
GeneralRe: Coded insults Pin
BobJanova1-Oct-12 6:06
BobJanova1-Oct-12 6:06 
GeneralRe: Coded insults Pin
erzengel.des.lichtes1-Oct-12 6:58
erzengel.des.lichtes1-Oct-12 6:58 
Be careful with assumptions about what the user can and cannot do through the UI, especially if you work on the web.
The QA team at my company has specific instructions to enable all disabled buttons and controls using various means (on the web, it's pretty easy: Inspect Element. For Windows applications, a special app is needed). The main reason is to secure the app against users being malicious rather than stupid, though.
GeneralRe: Coded insults Pin
BobJanova2-Oct-12 0:02
BobJanova2-Oct-12 0:02 
GeneralRe: Coded insults Pin
Stefan_Lang2-Oct-12 4:30
Stefan_Lang2-Oct-12 4:30 
GeneralRe: Coded insults Pin
emajyn1-Oct-12 6:25
emajyn1-Oct-12 6:25 
GeneralRe: Coded insults Pin
patbob1-Oct-12 7:02
patbob1-Oct-12 7:02 
GeneralRe: Coded insults Pin
Stefan_Lang2-Oct-12 4:36
Stefan_Lang2-Oct-12 4:36 
GeneralRe: Coded insults Pin
emajyn2-Oct-12 4:39
emajyn2-Oct-12 4:39 
GeneralRe: Coded insults Pin
Ravi Bhavnani2-Oct-12 9:38
professionalRavi Bhavnani2-Oct-12 9:38 
GeneralRe: Coded insults Pin
Thomas Daniels1-Oct-12 5:59
mentorThomas Daniels1-Oct-12 5:59 
GeneralRe: Coded insults Pin
dojohansen2-Oct-12 2:24
dojohansen2-Oct-12 2:24 
GeneralRe: Coded insults Pin
Brisingr Aerowing1-Oct-12 7:08
professionalBrisingr Aerowing1-Oct-12 7:08 
GeneralRe: Coded insults Pin
JammoD871-Oct-12 23:43
JammoD871-Oct-12 23:43 
GeneralRe: Coded insults Pin
Joe_Dert20-Oct-12 20:46
Joe_Dert20-Oct-12 20:46 
GeneralRe: Coded insults Pin
Brisingr Aerowing30-Dec-12 12:48
professionalBrisingr Aerowing30-Dec-12 12:48 
GeneralFamiliarity : Trimming leading and trailing spaces from a string... Pin
Blake Miller26-Sep-12 11:26
Blake Miller26-Sep-12 11:26 
GeneralRe: Familiarity : Trimming leading and trailing spaces from a string... Pin
Jörgen Andersson26-Sep-12 20:29
professionalJörgen Andersson26-Sep-12 20:29 
GeneralRe: Familiarity : Trimming leading and trailing spaces from a string... Pin
Jecc28-Sep-12 0:46
Jecc28-Sep-12 0:46 
GeneralRe: Familiarity : Trimming leading and trailing spaces from a string... Pin
Blake Miller28-Sep-12 4:08
Blake Miller28-Sep-12 4:08 

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.