Click here to Skip to main content
15,880,392 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: The Never Executed Loop Pin
Shameel13-Mar-14 0:38
professionalShameel13-Mar-14 0:38 
GeneralRe: The Never Executed Loop Pin
jeron113-Mar-14 6:48
jeron113-Mar-14 6:48 
GeneralRe: The Never Executed Loop Pin
TheGreatAndPowerfulOz3-Apr-14 6:06
TheGreatAndPowerfulOz3-Apr-14 6:06 
GeneralRe: The Never Executed Loop Pin
Bernhard Hiller13-Mar-14 1:08
Bernhard Hiller13-Mar-14 1:08 
GeneralRe: The Never Executed Loop Pin
BillW3312-Mar-14 10:22
professionalBillW3312-Mar-14 10:22 
GeneralRe: The Never Executed Loop Pin
phil.o13-Mar-14 0:41
professionalphil.o13-Mar-14 0:41 
GeneralRe: The Never Executed Loop Pin
Hassan Oumar Mahamat14-Mar-14 1:56
professionalHassan Oumar Mahamat14-Mar-14 1:56 
GeneralThe joys of doing Documentation Pin
Argonia4-Mar-14 5:03
professionalArgonia4-Mar-14 5:03 
So here i am with my task (if you can say that) to do a documentation on 2 of the projects. And while doing it i saw a just brilliant piece of code. For my defense i will say its not mine.
C#
try
{
  //just some code
}
catch (Exception ex)
{
   throw ex;
}

So what's your memories of your first documentation? I guess i will have what to tell about mine Smile | :)
Microsoft ... the only place where VARIANT_TRUE != true

GeneralRe: The joys of doing Documentation Pin
BillW335-Mar-14 2:47
professionalBillW335-Mar-14 2:47 
GeneralRe: The joys of doing Documentation Pin
Nagy Vilmos5-Mar-14 3:32
professionalNagy Vilmos5-Mar-14 3:32 
GeneralRe: The joys of doing Documentation Pin
Freak305-Mar-14 23:30
Freak305-Mar-14 23:30 
GeneralRe: The joys of doing Documentation Pin
Nagy Vilmos6-Mar-14 1:58
professionalNagy Vilmos6-Mar-14 1:58 
GeneralRe: The joys of doing Documentation Pin
peterchen12-Mar-14 7:56
peterchen12-Mar-14 7:56 
GeneralRe: The joys of doing Documentation Pin
Bernhard Hiller5-Mar-14 22:01
Bernhard Hiller5-Mar-14 22:01 
GeneralRe: The joys of doing Documentation Pin
Argonia5-Mar-14 22:09
professionalArgonia5-Mar-14 22:09 
GeneralRe: The joys of doing Documentation Pin
Bernhard Hiller6-Mar-14 20:31
Bernhard Hiller6-Mar-14 20:31 
GeneralRe: The joys of doing Documentation Pin
Argonia6-Mar-14 20:47
professionalArgonia6-Mar-14 20:47 
AnswerRe: The joys of doing Documentation Pin
Jarek Kruza10-Mar-14 23:31
Jarek Kruza10-Mar-14 23:31 
JokeRe: The joys of doing Documentation Pin
kmoorevs12-Mar-14 7:03
kmoorevs12-Mar-14 7:03 
GeneralRe: The joys of doing Documentation Pin
Rob Grainger12-Mar-14 23:53
Rob Grainger12-Mar-14 23:53 
GeneralRe: The joys of doing Documentation Pin
Sergey Alexandrovich Kryukov29-Apr-14 18:53
mvaSergey Alexandrovich Kryukov29-Apr-14 18:53 
Generalif brainfart then loop Pin
BotCar3-Mar-14 22:23
BotCar3-Mar-14 22:23 
GeneralRe: if brainfart then loop Pin
dan!sh 3-Mar-14 22:34
professional dan!sh 3-Mar-14 22:34 
GeneralRe: if brainfart then loop Pin
Freak303-Mar-14 23:27
Freak303-Mar-14 23:27 
GeneralRe: if brainfart then loop Pin
BotCar4-Mar-14 0:40
BotCar4-Mar-14 0:40 

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.