Click here to Skip to main content
15,887,267 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: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 3:42
mvePIEBALDconsult11-Jul-12 3:42 
QuestionRe: RateOfInterest... Pin
Sandeep Mewara10-Jul-12 19:49
mveSandeep Mewara10-Jul-12 19:49 
AnswerRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 3:47
mvePIEBALDconsult11-Jul-12 3:47 
GeneralRe: RateOfInterest... Pin
BobJanova11-Jul-12 0:44
BobJanova11-Jul-12 0:44 
GeneralRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 3:50
mvePIEBALDconsult11-Jul-12 3:50 
GeneralRe: RateOfInterest... Pin
BobJanova11-Jul-12 4:38
BobJanova11-Jul-12 4:38 
GeneralRe: RateOfInterest... Pin
Sandeep Mewara11-Jul-12 7:14
mveSandeep Mewara11-Jul-12 7:14 
GeneralRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 8:37
mvePIEBALDconsult11-Jul-12 8:37 
BobJanova wrote:
30 lines where 5 would do is a problem


Well I wouldn't write it that way, but I don't consider it a problem (certainly a smell though) and wouldn't necessarily change it if it works properly -- it ain't broke, there's probably more important things to do than to clean this up.

However, the OP says that this is just one small example, so perhaps revisiting all of it is worthwhile in this case.
JokeRe: RateOfInterest... PinPopular
S Houghtelin10-Jul-12 11:21
professionalS Houghtelin10-Jul-12 11:21 
GeneralRe: RateOfInterest... Pin
greldak10-Jul-12 22:07
greldak10-Jul-12 22:07 
GeneralDating PinPopular
V.10-Jul-12 3:56
professionalV.10-Jul-12 3:56 
GeneralRe: Dating Pin
Brisingr Aerowing10-Jul-12 13:57
professionalBrisingr Aerowing10-Jul-12 13:57 
GeneralRe: Dating Pin
Peter_in_278010-Jul-12 14:13
professionalPeter_in_278010-Jul-12 14:13 
GeneralRe: Dating Pin
V.11-Jul-12 9:14
professionalV.11-Jul-12 9:14 
GeneralRe: Dating Pin
jschell11-Jul-12 8:09
jschell11-Jul-12 8:09 
JokeRe: Dating PinPopular
walterhevedeich10-Jul-12 19:26
professionalwalterhevedeich10-Jul-12 19:26 
GeneralRe: Dating Pin
BobJanova11-Jul-12 4:38
BobJanova11-Jul-12 4:38 
GeneralRe: Dating Pin
Andrei Straut11-Jul-12 6:19
Andrei Straut11-Jul-12 6:19 
GeneralRe: Dating Pin
UNCRushFan15-Jul-12 12:46
UNCRushFan15-Jul-12 12:46 
GeneralRe: Dating Pin
jschell11-Jul-12 8:11
jschell11-Jul-12 8:11 
GeneralYou know it's time to go home... PinPopular
StM0n10-Jul-12 2:59
StM0n10-Jul-12 2:59 
GeneralRe: You know it's time to go home... Pin
Nagy Vilmos10-Jul-12 3:26
professionalNagy Vilmos10-Jul-12 3:26 
GeneralRe: You know it's time to go home... Pin
spencepk10-Jul-12 7:36
spencepk10-Jul-12 7:36 
GeneralRe: You know it's time to go home... Pin
StM0n10-Jul-12 19:40
StM0n10-Jul-12 19:40 
GeneralRe: You know it's time to go home... Pin
SoMad10-Jul-12 11:51
professionalSoMad10-Jul-12 11:51 

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.