Click here to Skip to main content
12,074,308 members (65,426 online)

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: Try/catch block... Pin
Bernhard Hiller20-Nov-12 5:36
memberBernhard Hiller20-Nov-12 5:36 
GeneralRe: Try/catch block... Pin
warriordog21-Nov-12 3:16
memberwarriordog21-Nov-12 3:16 
GeneralRe: Try/catch block... Pin
Richard Deeming21-Nov-12 3:23
memberRichard Deeming21-Nov-12 3:23 
GeneralRe: Try/catch block... Pin
warriordog21-Nov-12 3:27
memberwarriordog21-Nov-12 3:27 
GeneralRe: Try/catch block... Pin
Reese Currie21-Nov-12 3:52
memberReese Currie21-Nov-12 3:52 
GeneralRe: Try/catch block... Pin
bkebamc21-Nov-12 6:17
memberbkebamc21-Nov-12 6:17 
GeneralRe: Try/catch block... Pin
H.Brydon21-Nov-12 17:34
memberH.Brydon21-Nov-12 17:34 
GeneralRe: Try/catch block... Pin
Bernhard Hiller21-Nov-12 21:27
memberBernhard Hiller21-Nov-12 21:27 
GeneralRe: Try/catch block... Pin
lukeer22-Nov-12 22:06
memberlukeer22-Nov-12 22:06 
GeneralRe: Try/catch block... Pin
KP Lee26-Nov-12 8:41
memberKP Lee26-Nov-12 8:41 
GeneralRe: Try/catch block... Pin
Gary R. Wheeler21-Nov-12 5:26
memberGary R. Wheeler21-Nov-12 5:26 
GeneralRe: Try/catch block... Pin
PhilLenoir21-Nov-12 7:36
memberPhilLenoir21-Nov-12 7:36 
GeneralRe: Try/catch block... Pin
Zac Greve27-Nov-12 9:24
memberZac Greve27-Nov-12 9:24 
GeneralRe: Try/catch block... Pin
Member 771191721-Nov-12 10:12
memberMember 771191721-Nov-12 10:12 
Maybe we need a more flippant programming language, for those of us who think like this:

try
{
   // something
}
ifatfirstyoudontsucceed
{
    // try again
}
thirdtimelucky
{
    // and again
}
giveup // synonym for catch
{
    // error handling
}
finally
{
    // tidying up
}

GeneralRe: Try/catch block... Pin
kakan28-Nov-12 1:46
memberkakan28-Nov-12 1:46 
GeneralRe: Try/catch block... Pin
PIEBALDconsult20-Nov-12 14:30
memberPIEBALDconsult20-Nov-12 14:30 
GeneralRe: Try/catch block... Pin
jasperp20-Nov-12 21:56
memberjasperp20-Nov-12 21:56 
GeneralRe: Try/catch block... Pin
spencepk21-Nov-12 5:03
memberspencepk21-Nov-12 5:03 
GeneralRe: Try/catch block... Pin
ProgramFOX21-Nov-12 5:10
memberProgramFOX21-Nov-12 5:10 
GeneralRe: Try/catch block... Pin
RafagaX21-Nov-12 5:28
memberRafagaX21-Nov-12 5:28 
GeneralRe: Try/catch block... Pin
ProgramFOX21-Nov-12 5:32
memberProgramFOX21-Nov-12 5:32 
GeneralRe: Try/catch block... Pin
jnlt21-Nov-12 6:33
memberjnlt21-Nov-12 6:33 
GeneralWhy would you do this to a stored procedure? It never did anything to you. Pin
thrakazog15-Nov-12 12:58
memberthrakazog15-Nov-12 12:58 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Zac Greve15-Nov-12 13:48
memberZac Greve15-Nov-12 13:48 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
jim lahey20-Nov-12 4:41
memberjim lahey20-Nov-12 4:41 
JokeRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Lewis198620-Nov-12 21:50
memberLewis198620-Nov-12 21:50 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Pete O'Hanlon20-Nov-12 13:09
protectorPete O'Hanlon20-Nov-12 13:09 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Florin Jurcovici22-Nov-12 2:13
memberFlorin Jurcovici22-Nov-12 2:13 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
SomeGuyThatIsMe21-Nov-12 3:17
memberSomeGuyThatIsMe21-Nov-12 3:17 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
KP Lee22-Nov-12 19:23
memberKP Lee22-Nov-12 19:23 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
SomeGuyThatIsMe26-Nov-12 3:34
memberSomeGuyThatIsMe26-Nov-12 3:34 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Adriaan Davel21-Nov-12 21:36
memberAdriaan Davel21-Nov-12 21:36 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
thrakazog22-Nov-12 4:25
memberthrakazog22-Nov-12 4:25 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
dazfuller21-Nov-12 21:58
memberdazfuller21-Nov-12 21:58 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Harry Neethling22-Nov-12 0:23
memberHarry Neethling22-Nov-12 0:23 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
mmelvis22-Nov-12 4:45
membermmelvis22-Nov-12 4:45 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
thrakazog22-Nov-12 19:04
memberthrakazog22-Nov-12 19:04 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
exmsde22-Nov-12 12:13
memberexmsde22-Nov-12 12:13 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
thomas.michaud26-Nov-12 5:08
memberthomas.michaud26-Nov-12 5:08 
GeneralRe: Why would you do this to a stored procedure? It never did anything to you. Pin
Nitin Sawant4-Dec-12 2:22
memberNitin Sawant4-Dec-12 2:22 
GeneralTypemock Comic Series #1 - How to Keep Your Code Secure Pin
NCSM13-Nov-12 11:02
memberNCSM13-Nov-12 11:02 
GeneralRe: Typemock Comic Series #1 - How to Keep Your Code Secure PinPopular
0bx14-Nov-12 7:11
member0bx14-Nov-12 7:11 
GeneralLoading custom fields from Quickbooks Pin
Jeremy D Lee9-Nov-12 17:01
memberJeremy D Lee9-Nov-12 17:01 
JokeRe: Loading custom fields from Quickbooks PinPopular
Bernhard Hiller10-Nov-12 22:53
memberBernhard Hiller10-Nov-12 22:53 
GeneralRe: Loading custom fields from Quickbooks Pin
Jeremy D Lee11-Nov-12 3:14
memberJeremy D Lee11-Nov-12 3:14 
GeneralRe: Loading custom fields from Quickbooks PinPopular
Bernhard Hiller11-Nov-12 22:33
memberBernhard Hiller11-Nov-12 22:33 
GeneralRe: Loading custom fields from Quickbooks Pin
Zac Greve11-Nov-12 6:34
memberZac Greve11-Nov-12 6:34 
GeneralRe: Loading custom fields from Quickbooks Pin
BobJanova12-Nov-12 23:15
memberBobJanova12-Nov-12 23:15 
GeneralRe: Loading custom fields from Quickbooks Pin
Clodetta del Mar15-Nov-12 2:37
memberClodetta del Mar15-Nov-12 2:37 
GeneralHow to conver Date to yyyyMMdd format in SSRS PinPopular
virang_218-Nov-12 15:41
membervirang_218-Nov-12 15:41 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160208.1 | Last Updated 11 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid