Click here to Skip to main content
15,895,011 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: Let's REALLY make sure "4" isn't "5" Pin
Bruce Patin18-Oct-18 3:50
Bruce Patin18-Oct-18 3:50 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
MikeTheFid18-Oct-18 4:03
MikeTheFid18-Oct-18 4:03 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
W Balboos, GHB18-Oct-18 8:15
W Balboos, GHB18-Oct-18 8:15 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
raddevus19-Oct-18 8:57
mvaraddevus19-Oct-18 8:57 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
Ryan Peden25-Oct-18 5:09
professionalRyan Peden25-Oct-18 5:09 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
Nelek29-Oct-18 1:16
protectorNelek29-Oct-18 1:16 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
charlieg30-Oct-18 11:17
charlieg30-Oct-18 11:17 
GeneralRe: Let's REALLY make sure "4" isn't "5" Pin
TheGreatAndPowerfulOz6-Nov-18 9:09
TheGreatAndPowerfulOz6-Nov-18 9:09 
By chance was the case "4" a fall-through from cases above it? Not saying it's good coding practice, but that would sorta make sense then seeing the "if" statement.

I hate crap like that....

Currently dealing with 20,000 line files with 5,000 line functions. Dead | X| Dead | X| Mad | :mad:

I'm NOT exaggerating.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

Generalfriend: frequency to MIDI should be easy right? Pin
raddevus15-Oct-18 8:57
mvaraddevus15-Oct-18 8:57 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Rick York15-Oct-18 9:35
mveRick York15-Oct-18 9:35 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus15-Oct-18 9:42
mvaraddevus15-Oct-18 9:42 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Rick York15-Oct-18 10:17
mveRick York15-Oct-18 10:17 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
msk471115-Oct-18 22:50
msk471115-Oct-18 22:50 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 2:08
mvaraddevus16-Oct-18 2:08 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Bernhard Hiller16-Oct-18 22:52
Bernhard Hiller16-Oct-18 22:52 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Marc Clifton16-Oct-18 1:24
mvaMarc Clifton16-Oct-18 1:24 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 2:12
mvaraddevus16-Oct-18 2:12 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Storm-blade16-Oct-18 1:30
professionalStorm-blade16-Oct-18 1:30 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 2:13
mvaraddevus16-Oct-18 2:13 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Rick York16-Oct-18 5:32
mveRick York16-Oct-18 5:32 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 8:35
mvaraddevus16-Oct-18 8:35 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Rick York16-Oct-18 9:38
mveRick York16-Oct-18 9:38 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Jan Holst Jensen218-Oct-18 1:14
Jan Holst Jensen218-Oct-18 1:14 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
StatementTerminator18-Oct-18 4:19
StatementTerminator18-Oct-18 4:19 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus18-Oct-18 12:47
mvaraddevus18-Oct-18 12:47 

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.