Click here to Skip to main content
15,892,809 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: someone who does not trust arithmetic PinPopular
Thomas Weller4-Nov-08 3:08
Thomas Weller4-Nov-08 3:08 
GeneralRe: someone who does not trust arithmetic PinPopular
Russell Jones4-Nov-08 3:11
Russell Jones4-Nov-08 3:11 
GeneralRe: someone who does not trust arithmetic Pin
Thomas Weller4-Nov-08 3:26
Thomas Weller4-Nov-08 3:26 
GeneralRe: someone who does not trust arithmetic Pin
Andrew Rissing5-Nov-08 4:02
Andrew Rissing5-Nov-08 4:02 
GeneralRe: someone who does not trust arithmetic Pin
cpkilekofp7-Nov-08 5:34
cpkilekofp7-Nov-08 5:34 
GeneralRe: someone who does not trust arithmetic Pin
Jason Lepack (LeppyR64)4-Nov-08 4:22
Jason Lepack (LeppyR64)4-Nov-08 4:22 
GeneralRe: someone who does not trust arithmetic Pin
CPallini4-Nov-08 3:19
mveCPallini4-Nov-08 3:19 
GeneralRe: someone who does not trust arithmetic [modified] Pin
Vincenzo Rossi4-Nov-08 10:28
professionalVincenzo Rossi4-Nov-08 10:28 
I've processed that code with WinZip.
The result is:

C#
bool foo(int n) { return (n > 16); }


modified on Tuesday, November 4, 2008 4:34 PM

GeneralRe: someone who does not trust arithmetic Pin
leppie5-Nov-08 19:50
leppie5-Nov-08 19:50 
GeneralRe: someone who does not trust arithmetic Pin
Vincenzo Rossi7-Nov-08 9:15
professionalVincenzo Rossi7-Nov-08 9:15 
GeneralRe: someone who does not trust arithmetic Pin
Chris Maunder5-Nov-08 2:57
cofounderChris Maunder5-Nov-08 2:57 
QuestionRe: someone who does not trust arithmetic Pin
CPallini5-Nov-08 3:03
mveCPallini5-Nov-08 3:03 
AnswerRe: someone who does not trust arithmetic Pin
PIEBALDconsult5-Nov-08 5:31
mvePIEBALDconsult5-Nov-08 5:31 
GeneralRe: someone who does not trust arithmetic Pin
CPallini5-Nov-08 6:01
mveCPallini5-Nov-08 6:01 
JokeRe: someone who does not trust arithmetic Pin
Thomas Weller5-Nov-08 7:10
Thomas Weller5-Nov-08 7:10 
GeneralRe: someone who does not trust arithmetic Pin
Dan Neely5-Nov-08 8:28
Dan Neely5-Nov-08 8:28 
GeneralRe: someone who does not trust arithmetic Pin
Thomas Weller5-Nov-08 8:49
Thomas Weller5-Nov-08 8:49 
GeneralRe: someone who does not trust arithmetic Pin
CPallini5-Nov-08 9:36
mveCPallini5-Nov-08 9:36 
GeneralMy boss must be a klingon Pin
Rob Grainger6-Nov-08 3:04
Rob Grainger6-Nov-08 3:04 
GeneralMessage Closed Pin
6-Nov-08 6:01
kofiado6-Nov-08 6:01 
GeneralPICK ME!!!!! Pin
PJ Arends6-Nov-08 6:20
professionalPJ Arends6-Nov-08 6:20 
GeneralRe: My boss must be a klingon Pin
Thomas Weller6-Nov-08 6:29
Thomas Weller6-Nov-08 6:29 
GeneralRe: My boss must be a klingon Pin
Jason Lepack (LeppyR64)6-Nov-08 7:02
Jason Lepack (LeppyR64)6-Nov-08 7:02 
JokeRe: My boss must be a klingon Pin
Thomas Weller6-Nov-08 7:39
Thomas Weller6-Nov-08 7:39 
GeneralI want that money Pin
NikoTanghe6-Nov-08 8:05
NikoTanghe6-Nov-08 8:05 

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.