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

 
GeneralHow not to do a countdown Pin
PIEBALDconsult28-Oct-14 12:28
mvePIEBALDconsult28-Oct-14 12:28 
GeneralRe: How not to do a countdown Pin
ZurdoDev31-Oct-14 1:54
professionalZurdoDev31-Oct-14 1:54 
GeneralRe: How not to do a countdown Pin
PIEBALDconsult31-Oct-14 3:23
mvePIEBALDconsult31-Oct-14 3:23 
GeneralRe: How not to do a countdown Pin
ZurdoDev31-Oct-14 3:25
professionalZurdoDev31-Oct-14 3:25 
GeneralRe: How not to do a countdown Pin
PIEBALDconsult31-Oct-14 3:32
mvePIEBALDconsult31-Oct-14 3:32 
GeneralRe: How not to do a countdown Pin
Brisingr Aerowing3-Nov-14 15:49
professionalBrisingr Aerowing3-Nov-14 15:49 
GeneralIt's Primes as far as the eye can see! PinPopular
OriginalGriff27-Oct-14 5:06
mveOriginalGriff27-Oct-14 5:06 
JokeRe: It's Primes as far as the eye can see! PinPopular
ZurdoDev27-Oct-14 5:13
professionalZurdoDev27-Oct-14 5:13 
OriginalGriff wrote:
call me old fashioned, but in my day, 9, 15 and 21 were divisible by 3
Ya, but that's also back when Pluto was a planet. We live in a very different place now.



This user submitted this in QA, got closed, and resubmitted it in QA. I told him to post as a tip but apparently he didn't realize some explanation should be added. Or, the important part, THAT IT SHOULD WORK! Laugh | :laugh:
There are only 10 types of people in the world, those who understand binary and those who don't.

GeneralRe: It's Primes as far as the eye can see! Pin
OriginalGriff27-Oct-14 5:27
mveOriginalGriff27-Oct-14 5:27 
GeneralRe: It's Primes as far as the eye can see! Pin
DaveAuld27-Oct-14 6:22
professionalDaveAuld27-Oct-14 6:22 
GeneralRe: It's Primes as far as the eye can see! Pin
ZurdoDev27-Oct-14 6:24
professionalZurdoDev27-Oct-14 6:24 
GeneralRe: It's Primes as far as the eye can see! Pin
PhilLenoir27-Oct-14 8:38
professionalPhilLenoir27-Oct-14 8:38 
GeneralRe: It's Primes as far as the eye can see! Pin
newton.saber27-Oct-14 9:26
newton.saber27-Oct-14 9:26 
GeneralRe: It's Primes as far as the eye can see! Pin
DaveAuld27-Oct-14 10:26
professionalDaveAuld27-Oct-14 10:26 
GeneralRe: It's Primes as far as the eye can see! Pin
Ian Shlasko27-Oct-14 10:31
Ian Shlasko27-Oct-14 10:31 
GeneralRe: It's Primes as far as the eye can see! Pin
DaveAuld27-Oct-14 10:48
professionalDaveAuld27-Oct-14 10:48 
GeneralRe: It's Primes as far as the eye can see! Pin
Ian Shlasko27-Oct-14 10:51
Ian Shlasko27-Oct-14 10:51 
GeneralRe: It's Primes as far as the eye can see! Pin
DaveAuld27-Oct-14 10:54
professionalDaveAuld27-Oct-14 10:54 
GeneralRe: It's Primes as far as the eye can see! Pin
Ian Shlasko27-Oct-14 10:59
Ian Shlasko27-Oct-14 10:59 
GeneralRe: It's Primes as far as the eye can see! Pin
newton.saber27-Oct-14 11:02
newton.saber27-Oct-14 11:02 
GeneralRe: It's Primes as far as the eye can see! Pin
Ian Shlasko27-Oct-14 11:07
Ian Shlasko27-Oct-14 11:07 
GeneralRe: It's Primes as far as the eye can see! Pin
newton.saber27-Oct-14 11:13
newton.saber27-Oct-14 11:13 
GeneralRe: It's Primes as far as the eye can see! Pin
newton.saber27-Oct-14 11:03
newton.saber27-Oct-14 11:03 
GeneralRe: It's Primes as far as the eye can see! Pin
Ian Shlasko27-Oct-14 5:26
Ian Shlasko27-Oct-14 5:26 
GeneralRe: It's Primes as far as the eye can see! Pin
newton.saber27-Oct-14 5:36
newton.saber27-Oct-14 5:36 

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.