Click here to Skip to main content
15,912,207 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: A Coding Horror from a subcontracted project... Pin
GuyThiebaut10-Jul-08 0:17
professionalGuyThiebaut10-Jul-08 0:17 
GeneralRe: A Coding Horror from a subcontracted project... Pin
sucram10-Jul-08 0:34
sucram10-Jul-08 0:34 
GeneralRe: A Coding Horror from a subcontracted project... Pin
GuyThiebaut10-Jul-08 1:17
professionalGuyThiebaut10-Jul-08 1:17 
GeneralRe: A Coding Horror from a subcontracted project... Pin
Rob Grainger13-Jul-08 23:45
Rob Grainger13-Jul-08 23:45 
RantRe: A Coding Horror from a subcontracted project... Pin
RobParker4-Jul-08 6:18
RobParker4-Jul-08 6:18 
JokeRe: A Coding Horror from a subcontracted project... Pin
CPallini4-Jul-08 7:16
mveCPallini4-Jul-08 7:16 
GeneralRe: A Coding Horror from a subcontracted project... [modified] Pin
Rob Grainger13-Jul-08 23:48
Rob Grainger13-Jul-08 23:48 
GeneralRe: A Coding Horror from a subcontracted project... Pin
darkelv4-Jul-08 1:47
darkelv4-Jul-08 1:47 
How.. how... how were you able to access the source code of one of our client's electronic portal...??

Seriously, our client wanted us to maintain a demo web pages for that portal. They have been maintaining and adding the demo pages by stripping the asp code into static html. They sent me the demo pages for evaluation and when I see the zip file was like 50mb I was going "how the heck can html pages become so big"? Eventually, I found out that majority of the size is occupied by functions that are not used, and repeated in each pages.

Oh yeah, the portal was sub-contracted to India... Poke tongue | ;-P
GeneralRe: A Coding Horror from a subcontracted project... Pin
CARPETBURNER4-Jul-08 10:19
CARPETBURNER4-Jul-08 10:19 
GeneralRe: A Coding Horror from a subcontracted project... Pin
darkelv4-Jul-08 17:18
darkelv4-Jul-08 17:18 
GeneralRe: A Coding Horror from a subcontracted project... Pin
Paul Conrad4-Jul-08 10:38
professionalPaul Conrad4-Jul-08 10:38 
GeneralRe: A Coding Horror from a subcontracted project... Pin
Bert delaVega12-Jul-08 17:49
Bert delaVega12-Jul-08 17:49 
GeneralConvert double to fixed point integer format - hard way versus easy way... PinPopular
geoffs3-Jul-08 5:34
geoffs3-Jul-08 5:34 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
PIEBALDconsult3-Jul-08 6:11
mvePIEBALDconsult3-Jul-08 6:11 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
geoffs3-Jul-08 6:16
geoffs3-Jul-08 6:16 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
Graham Bradshaw3-Jul-08 7:14
Graham Bradshaw3-Jul-08 7:14 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
geoffs3-Jul-08 7:32
geoffs3-Jul-08 7:32 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
PIEBALDconsult3-Jul-08 12:40
mvePIEBALDconsult3-Jul-08 12:40 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
geoffs3-Jul-08 15:48
geoffs3-Jul-08 15:48 
RantRe: Convert double to fixed point integer format - hard way versus easy way... Pin
killabyte6-Jul-08 13:16
killabyte6-Jul-08 13:16 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... PinPopular
Rob Grainger4-Jul-08 1:23
Rob Grainger4-Jul-08 1:23 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
PIEBALDconsult4-Jul-08 3:56
mvePIEBALDconsult4-Jul-08 3:56 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
DQNOK9-Jul-08 3:23
professionalDQNOK9-Jul-08 3:23 
GeneralRe: Convert double to fixed point integer format - hard way versus easy way... Pin
geoffs9-Jul-08 5:04
geoffs9-Jul-08 5:04 
GeneralDoes this qualify as horror? Pin
Megidolaon30-Jun-08 23:09
Megidolaon30-Jun-08 23:09 

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.