Click here to Skip to main content
13,768,718 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: Found this a few minutes ago Pin
SomeGuyThatIsMe28-Mar-13 4:34
memberSomeGuyThatIsMe28-Mar-13 4:34 
GeneralRe: Found this a few minutes ago Pin
agolddog29-Mar-13 4:39
memberagolddog29-Mar-13 4:39 
GeneralRe: Found this a few minutes ago Pin
Leng Vang29-Mar-13 7:35
memberLeng Vang29-Mar-13 7:35 
GeneralRe: Found this a few minutes ago Pin
jschell29-Mar-13 11:43
memberjschell29-Mar-13 11:43 
GeneralRe: Found this a few minutes ago Pin
SomeGuyThatIsMe1-Apr-13 3:16
memberSomeGuyThatIsMe1-Apr-13 3:16 
GeneralRe: Found this a few minutes ago Pin
jschell1-Apr-13 9:08
memberjschell1-Apr-13 9:08 
GeneralRe: Found this a few minutes ago Pin
StatementTerminator1-Apr-13 10:58
memberStatementTerminator1-Apr-13 10:58 
GeneralFor your next job interview PinPopular
Gary Wheeler15-Mar-13 2:02
memberGary Wheeler15-Mar-13 2:02 
@echo off
for /L %%I in (1,1,100) do call :FizzBuzz %%I
goto :EOF
:FizzBuzz
set I=%1
set /a T3=I %% 3
set /a T5=I %% 5
set /a T35=T3 + T5
if not %T35%==0 goto FizzBuzz5
echo FizzBuzz
goto :EOF
:FizzBuzz5
if not %T5%==0 goto FizzBuzz3
echo Buzz
goto :EOF
:FizzBuzz3
if not %T3%==0 goto FizzBuzzEcho
echo Fizz
goto :EOF
:FizzBuzzEcho
echo %I%
goto :EOF
Apparently I wrote this back in 2007. I have no memory of doing so, or why I did it Unsure | :~ .
Software Zen: delete this;

GeneralRe: For your next job interview Pin
15-Mar-13 2:22
suss15-Mar-13 2:22 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 2:26
memberGary Wheeler15-Mar-13 2:26 
GeneralRe: For your next job interview Pin
Pete O'Hanlon15-Mar-13 2:34
protectorPete O'Hanlon15-Mar-13 2:34 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 2:44
memberGary Wheeler15-Mar-13 2:44 
GeneralRe: For your next job interview Pin
Marco Bertschi15-Mar-13 3:10
protectorMarco Bertschi15-Mar-13 3:10 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 3:19
memberGary Wheeler15-Mar-13 3:19 
GeneralRe: For your next job interview Pin
SoMad28-Mar-13 23:54
protectorSoMad28-Mar-13 23:54 
GeneralRe: For your next job interview Pin
Marco Bertschi15-Mar-13 3:19
protectorMarco Bertschi15-Mar-13 3:19 
GeneralRe: For your next job interview Pin
ZurdoDev20-Mar-13 3:52
professionalZurdoDev20-Mar-13 3:52 
GeneralRe: For your next job interview Pin
Gary Wheeler20-Mar-13 3:56
memberGary Wheeler20-Mar-13 3:56 
GeneralRe: For your next job interview Pin
ZurdoDev20-Mar-13 4:05
professionalZurdoDev20-Mar-13 4:05 
GeneralRe: For your next job interview Pin
_Maxxx_28-Mar-13 23:22
professional_Maxxx_28-Mar-13 23:22 
GeneralRe: For your next job interview Pin
Gary Wheeler29-Mar-13 3:25
memberGary Wheeler29-Mar-13 3:25 
GeneralRe: For your next job interview Pin
CHill6025-Mar-13 6:08
protectorCHill6025-Mar-13 6:08 
GeneralShiva Lingam Pin
Prasad Khandekar13-Mar-13 1:26
professionalPrasad Khandekar13-Mar-13 1:26 
GeneralRe: Shiva Lingam Pin
W Balboos13-Mar-13 1:36
memberW Balboos13-Mar-13 1:36 
GeneralRe: Shiva Lingam Pin
W Balboos13-Mar-13 1:37
memberW Balboos13-Mar-13 1:37 

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 | Cookies | Terms of Service
Web06-2016 | 2.8.181116.1 | Last Updated 18 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid