Click here to Skip to main content
15,561,246 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: 1,2,3,4...lots of...what exactly? Pin
BillW3318-Jul-12 7:37
professionalBillW3318-Jul-12 7:37 
GeneralRe: 1,2,3,4...lots of...what exactly? Pin
Andrei Straut18-Jul-12 9:09
Andrei Straut18-Jul-12 9:09 
GeneralRe: 1,2,3,4...lots of...what exactly? Pin
Shameel25-Jul-12 3:11
professionalShameel25-Jul-12 3:11 
GeneralRe: 1,2,3,4...lots of...what exactly? Pin
S Houghtelin19-Jul-12 3:21
professionalS Houghtelin19-Jul-12 3:21 
GeneralMake sure this value is returned... Pin
cmger18-Jul-12 4:21
cmger18-Jul-12 4:21 
GeneralRe: Make sure this value is returned... Pin
BillW3318-Jul-12 5:07
professionalBillW3318-Jul-12 5:07 
GeneralRe: Make sure this value is returned... Pin
cmger18-Jul-12 5:34
cmger18-Jul-12 5:34 
GeneralRe: Make sure this value is returned... Pin
Andrei Straut18-Jul-12 5:56
Andrei Straut18-Jul-12 5:56 
Maybe it was some kind of skeleton for logic to be inserted in the try-catch block later? However, it should've been preceded by a comment at least.


cmger wrote:
I found out that there is only one place where the method is used and there the return value is just ignored.

Rejoice, for you got away easily! Laugh | :laugh: Laugh | :laugh: It could've been a lot worse Wink | ;)
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.

GeneralRe: Make sure this value is returned... Pin
BillW3318-Jul-12 7:32
professionalBillW3318-Jul-12 7:32 
GeneralRe: Make sure this value is returned... Pin
cmger18-Jul-12 21:34
cmger18-Jul-12 21:34 
GeneralRe: Make sure this value is returned... Pin
BillW3319-Jul-12 8:22
professionalBillW3319-Jul-12 8:22 
GeneralRe: Make sure this value is returned... Pin
greldak18-Jul-12 22:53
greldak18-Jul-12 22:53 
GeneralRe: Make sure this value is returned... Pin
Renzo Ciafardone19-Jul-12 8:24
Renzo Ciafardone19-Jul-12 8:24 
GeneralA new definition of efficiency Pin
PaulLinton16-Jul-12 20:57
PaulLinton16-Jul-12 20:57 
GeneralRe: A new definition of efficiency Pin
enhzflep16-Jul-12 21:31
enhzflep16-Jul-12 21:31 
GeneralRe: A new definition of efficiency Pin
RobCroll16-Jul-12 22:13
RobCroll16-Jul-12 22:13 
GeneralRe: A new definition of efficiency Pin
OriginalGriff16-Jul-12 23:39
mveOriginalGriff16-Jul-12 23:39 
JokeRe: A new definition of efficiency Pin
Andrew Rissing17-Jul-12 5:23
Andrew Rissing17-Jul-12 5:23 
GeneralRe: A new definition of efficiency Pin
OriginalGriff17-Jul-12 5:45
mveOriginalGriff17-Jul-12 5:45 
GeneralRe: A new definition of efficiency Pin
Andrew Rissing17-Jul-12 6:26
Andrew Rissing17-Jul-12 6:26 
GeneralRe: A new definition of efficiency Pin
SortaCore18-Jul-12 20:39
SortaCore18-Jul-12 20:39 
GeneralRe: A new definition of efficiency Pin
_Amy18-Jul-12 1:06
professional_Amy18-Jul-12 1:06 
GeneralRe: A new definition of efficiency Pin
BillW3317-Jul-12 11:03
professionalBillW3317-Jul-12 11:03 
GeneralRe: A new definition of efficiency Pin
englebart19-Jul-12 3:02
professionalenglebart19-Jul-12 3:02 
GeneralThis guy don't know what margin property in CSS is. Pin
Hiren solanki13-Jul-12 0:08
Hiren solanki13-Jul-12 0:08 

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.