Click here to Skip to main content
15,566,733 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.

 
GeneralRateOfInterest... Pin
Sandeep Mewara10-Jul-12 6:04
mveSandeep Mewara10-Jul-12 6:04 
GeneralRe: RateOfInterest... Pin
PIEBALDconsult10-Jul-12 12:05
professionalPIEBALDconsult10-Jul-12 12:05 
AnswerRe: RateOfInterest... Pin
Sandeep Mewara10-Jul-12 20:46
mveSandeep Mewara10-Jul-12 20:46 
GeneralRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 4:42
professionalPIEBALDconsult11-Jul-12 4:42 
QuestionRe: RateOfInterest... Pin
Sandeep Mewara10-Jul-12 20:49
mveSandeep Mewara10-Jul-12 20:49 
AnswerRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 4:47
professionalPIEBALDconsult11-Jul-12 4:47 
GeneralRe: RateOfInterest... Pin
BobJanova11-Jul-12 1:44
BobJanova11-Jul-12 1:44 
GeneralRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 4:50
professionalPIEBALDconsult11-Jul-12 4:50 
BobJanova wrote:
obvious repetition of code


Yeah, so what? There's not much of it and it's clear.

I totally agree with using an array. But I'd use a for loop starting at 1.
GeneralRe: RateOfInterest... Pin
BobJanova11-Jul-12 5:38
BobJanova11-Jul-12 5:38 
GeneralRe: RateOfInterest... Pin
Sandeep Mewara11-Jul-12 8:14
mveSandeep Mewara11-Jul-12 8:14 
GeneralRe: RateOfInterest... Pin
PIEBALDconsult11-Jul-12 9:37
professionalPIEBALDconsult11-Jul-12 9:37 
JokeRe: RateOfInterest... Pin
S Houghtelin10-Jul-12 12:21
professionalS Houghtelin10-Jul-12 12:21 
GeneralRe: RateOfInterest... Pin
greldak10-Jul-12 23:07
greldak10-Jul-12 23:07 
GeneralDating PinPopular
V.10-Jul-12 4:56
professionalV.10-Jul-12 4:56 
GeneralRe: Dating Pin
Brisingr Aerowing10-Jul-12 14:57
professionalBrisingr Aerowing10-Jul-12 14:57 
GeneralRe: Dating Pin
Peter_in_278010-Jul-12 15:13
professionalPeter_in_278010-Jul-12 15:13 
GeneralRe: Dating Pin
V.11-Jul-12 10:14
professionalV.11-Jul-12 10:14 
GeneralRe: Dating Pin
jschell11-Jul-12 9:09
jschell11-Jul-12 9:09 
JokeRe: Dating Pin
walterhevedeich10-Jul-12 20:26
professionalwalterhevedeich10-Jul-12 20:26 
GeneralRe: Dating Pin
BobJanova11-Jul-12 5:38
BobJanova11-Jul-12 5:38 
GeneralRe: Dating Pin
Andrei Straut11-Jul-12 7:19
Andrei Straut11-Jul-12 7:19 
GeneralRe: Dating Pin
UNCRushFan15-Jul-12 13:46
UNCRushFan15-Jul-12 13:46 
GeneralRe: Dating Pin
jschell11-Jul-12 9:11
jschell11-Jul-12 9:11 
GeneralYou know it's time to go home... Pin
StM0n10-Jul-12 3:59
StM0n10-Jul-12 3:59 
GeneralRe: You know it's time to go home... Pin
Nagy Vilmos10-Jul-12 4:26
professionalNagy Vilmos10-Jul-12 4:26 

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.