Click here to Skip to main content
15,892,746 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: UNUSED functions Pin
Maximilien1-Feb-08 4:14
Maximilien1-Feb-08 4:14 
GeneralRe: UNUSED functions Pin
John R. Shaw1-Feb-08 23:24
John R. Shaw1-Feb-08 23:24 
GeneralRe: UNUSED functions Pin
Dan Neely4-Feb-08 2:52
Dan Neely4-Feb-08 2:52 
GeneralRe: UNUSED functions Pin
Cristian Amarie3-Feb-08 21:38
Cristian Amarie3-Feb-08 21:38 
GeneralRe: UNUSED functions Pin
Mike Diack4-Feb-08 10:01
Mike Diack4-Feb-08 10:01 
GeneralInformative Comments Pin
ClementsDan31-Jan-08 14:51
ClementsDan31-Jan-08 14:51 
QuestionRe: Informative Comments Pin
CPallini1-Feb-08 1:18
mveCPallini1-Feb-08 1:18 
GeneralRe: Informative Comments Pin
ClementsDan6-Feb-08 12:15
ClementsDan6-Feb-08 12:15 
Won't do. You can easily meet the 10% quota by writing things like:

//----------------------------------------
// CFoo::LogMessage
//
//    Log a message.
//
//    Args:
//       strMsg = the message to log
//
//    Returns:
//       void
//
void CFoo::LogMessage(const CString& strMsg)

GeneralRe: Informative Comments Pin
CARPETBURNER1-Feb-08 2:24
CARPETBURNER1-Feb-08 2:24 
GeneralRe: Informative Comments PinPopular
CPallini1-Feb-08 2:30
mveCPallini1-Feb-08 2:30 
GeneralTemplatized file Pin
jhwurmbach4-Feb-08 2:34
jhwurmbach4-Feb-08 2:34 
GeneralRe: Templatized file Pin
Jörgen Sigvardsson5-Feb-08 2:59
Jörgen Sigvardsson5-Feb-08 2:59 
GeneralRe: Templatized file Pin
Draugnar7-Feb-08 7:18
Draugnar7-Feb-08 7:18 
GeneralASP.NET - Trace.axd includes Application variables Pin
Ashley van Gerven31-Jan-08 14:10
Ashley van Gerven31-Jan-08 14:10 
GeneralRe: ASP.NET - Trace.axd includes Application variables Pin
Paddy Boyd1-Feb-08 4:22
Paddy Boyd1-Feb-08 4:22 
GeneralRe: ASP.NET - Trace.axd includes Application variables Pin
Ashley van Gerven1-Feb-08 5:12
Ashley van Gerven1-Feb-08 5:12 
QuestionHelp! NHibernate data saving problem. Pin
Harry Sun29-Jan-08 23:02
Harry Sun29-Jan-08 23:02 
GeneralRe: Help! NHibernate data saving problem. Pin
StM0n30-Jan-08 1:22
StM0n30-Jan-08 1:22 
GeneralRe: Help! NHibernate data saving problem. Pin
Pete O'Hanlon30-Jan-08 2:24
mvePete O'Hanlon30-Jan-08 2:24 
GeneralRe: Help! NHibernate data saving problem. Pin
Justin Perez30-Jan-08 2:31
Justin Perez30-Jan-08 2:31 
GeneralRe: Help! NHibernate data saving problem. PinPopular
Justin Perez30-Jan-08 2:30
Justin Perez30-Jan-08 2:30 
GeneralRe: Help! NHibernate data saving problem. Pin
Pete O'Hanlon30-Jan-08 2:41
mvePete O'Hanlon30-Jan-08 2:41 
Generalwho's who Pin
Luc Pattyn31-Jan-08 1:38
sitebuilderLuc Pattyn31-Jan-08 1:38 
GeneralRe: who's who Pin
Pete O'Hanlon31-Jan-08 3:01
mvePete O'Hanlon31-Jan-08 3:01 
GeneralRe: Help! NHibernate data saving problem. Pin
Harry Sun30-Jan-08 16:55
Harry Sun30-Jan-08 16:55 

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.