Click here to Skip to main content
15,913,114 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: Lack of understanding about the XmlDocument (C#) Pin
Perspx31-Aug-08 11:10
Perspx31-Aug-08 11:10 
GeneralRe: Lack of understanding about the XmlDocument (C#) Pin
Pete O'Hanlon31-Aug-08 22:42
mvePete O'Hanlon31-Aug-08 22:42 
GeneralRe: Lack of understanding about the XmlDocument (C#) Pin
leppie1-Sep-08 1:12
leppie1-Sep-08 1:12 
GeneralRe: Lack of understanding about the XmlDocument (C#) Pin
DrWheetos1-Sep-08 10:53
DrWheetos1-Sep-08 10:53 
GeneralRe: Lack of understanding about the XmlDocument (C#) Pin
Pete O'Hanlon1-Sep-08 11:17
mvePete O'Hanlon1-Sep-08 11:17 
GeneralRe: Lack of understanding about the XmlDocument (C#) Pin
Paul Conrad1-Sep-08 12:22
professionalPaul Conrad1-Sep-08 12:22 
JokeRe: Lack of understanding about the XmlDocument (C#) Pin
Member 36367991-Sep-08 20:34
Member 36367991-Sep-08 20:34 
GeneralPrinter-friendly, not programmer-friendly [modified] Pin
ClementsDan27-Aug-08 13:50
ClementsDan27-Aug-08 13:50 
If your product manager asked you to make a printer-friendly version of a webpage, how would you choose to implement it?

(A) Add a "print" parameter to your query string. In your CGI code, add IF statements where appropriate.

(B) Add a @media print section to the stylesheet.

(C) Write a 200-line Javascript function to walk through the DOM tree to remove unwanted navigational elements.

No points for guessing which choice was made by the previous maintainer of one of the web apps I'm working on now.

modified on Wednesday, August 27, 2008 8:07 PM

GeneralRe: Printer-friendly, not programmer-friendly Pin
PIEBALDconsult27-Aug-08 16:01
mvePIEBALDconsult27-Aug-08 16:01 
GeneralRe: Printer-friendly, not programmer-friendly Pin
Paul Conrad28-Aug-08 7:16
professionalPaul Conrad28-Aug-08 7:16 
GeneralRe: Printer-friendly, not programmer-friendly Pin
Vasudevan Deepak Kumar28-Aug-08 8:15
Vasudevan Deepak Kumar28-Aug-08 8:15 
GeneralRe: Printer-friendly, not programmer-friendly Pin
Paul Conrad28-Aug-08 8:18
professionalPaul Conrad28-Aug-08 8:18 
GeneralRe: Printer-friendly, not programmer-friendly Pin
ClementsDan28-Aug-08 14:15
ClementsDan28-Aug-08 14:15 
GeneralRe: Printer-friendly, not programmer-friendly Pin
Paul Conrad28-Aug-08 16:25
professionalPaul Conrad28-Aug-08 16:25 
GeneralRe: Printer-friendly, not programmer-friendly Pin
Pete O'Hanlon28-Aug-08 8:22
mvePete O'Hanlon28-Aug-08 8:22 
GeneralRe: Printer-friendly, not programmer-friendly Pin
Member 0xFFFFFFFF29-Aug-08 0:36
Member 0xFFFFFFFF29-Aug-08 0:36 
GeneralWorst database design I've ever seen. Pin
cartergu27-Aug-08 8:13
cartergu27-Aug-08 8:13 
GeneralRe: Worst database design I've ever seen. Pin
PIEBALDconsult27-Aug-08 10:07
mvePIEBALDconsult27-Aug-08 10:07 
GeneralRe: Worst database design I've ever seen. Pin
Pete O'Hanlon27-Aug-08 10:30
mvePete O'Hanlon27-Aug-08 10:30 
GeneralRe: Worst database design I've ever seen. Pin
trevorde stickman31-Aug-08 9:29
trevorde stickman31-Aug-08 9:29 
GeneralRe: Worst database design I've ever seen. Pin
PIEBALDconsult1-Sep-08 4:11
mvePIEBALDconsult1-Sep-08 4:11 
GeneralRe: Worst database design I've ever seen. Pin
GuyThiebaut2-Sep-08 8:55
professionalGuyThiebaut2-Sep-08 8:55 
GeneralRe: Worst database design I've ever seen. Pin
cartergu11-Sep-08 8:31
cartergu11-Sep-08 8:31 
GeneralRe: Worst database design I've ever seen. Pin
GuyThiebaut11-Sep-08 10:40
professionalGuyThiebaut11-Sep-08 10:40 
GeneralRe: Worst database design I've ever seen. Pin
Mycroft Holmes1-Sep-08 22:03
professionalMycroft Holmes1-Sep-08 22:03 

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.