Click here to Skip to main content
15,886,963 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: Copy and Paste should be banned from a code editor Pin
Eddy Vluggen3-Nov-14 9:07
professionalEddy Vluggen3-Nov-14 9:07 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Sander Rossel3-Nov-14 9:28
professionalSander Rossel3-Nov-14 9:28 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Ravi Bhavnani3-Nov-14 9:08
professionalRavi Bhavnani3-Nov-14 9:08 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Marc Clifton3-Nov-14 9:29
mvaMarc Clifton3-Nov-14 9:29 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Ravi Bhavnani3-Nov-14 11:11
professionalRavi Bhavnani3-Nov-14 11:11 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Mark_Wallace3-Nov-14 21:26
Mark_Wallace3-Nov-14 21:26 
JokeRe: Copy and Paste should be banned from a code editor Pin
Freak305-Nov-14 0:50
Freak305-Nov-14 0:50 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Ian Shlasko3-Nov-14 9:30
Ian Shlasko3-Nov-14 9:30 
I disagree. Copy-paste makes for highly-efficient coding. Not only do you get a perfect duplicate of a line, but the efficiency increases exponentially with the number of copies! Think about it... First you copy-paste one line, then you copy-paste those two lines, then four... You could be copying thousands of lines after only a dozen pastes!

And think about it... Unlike all of those silly objects and functions, you can change just one of those thousand copies without having to mess with all of the rest! It's so much better that way.

So everyone needs to copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....copy-paste more....

(Chris needs to add a <sarcasm> tag to the forums, cause I know someone is going to take the above literally... Well, not now, because they'll read this message... Unless it's too small... Here, let me make it smaller.....)
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Copy and Paste should be banned from a code editor Pin
Marc Clifton3-Nov-14 9:39
mvaMarc Clifton3-Nov-14 9:39 
GeneralRe: Copy and Paste should be banned from a code editor Pin
PIEBALDconsult3-Nov-14 10:22
mvePIEBALDconsult3-Nov-14 10:22 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Mark_Wallace3-Nov-14 21:27
Mark_Wallace3-Nov-14 21:27 
GeneralRe: Copy and Paste should be banned from a code editor Pin
Plamen Dragiyski4-Nov-14 0:11
professionalPlamen Dragiyski4-Nov-14 0:11 
GeneralUnreachable code detected Pin
Marc Clifton3-Nov-14 7:56
mvaMarc Clifton3-Nov-14 7:56 
GeneralRe: Unreachable code detected Pin
PIEBALDconsult3-Nov-14 8:04
mvePIEBALDconsult3-Nov-14 8:04 
GeneralRe: Unreachable code detected Pin
Marc Clifton3-Nov-14 8:19
mvaMarc Clifton3-Nov-14 8:19 
GeneralRe: Unreachable code detected Pin
Eddy Vluggen3-Nov-14 9:11
professionalEddy Vluggen3-Nov-14 9:11 
GeneralRe: Unreachable code detected Pin
PIEBALDconsult3-Nov-14 9:43
mvePIEBALDconsult3-Nov-14 9:43 
GeneralRe: Unreachable code detected Pin
ledtech33-Nov-14 9:50
ledtech33-Nov-14 9:50 
GeneralRe: Unreachable code detected Pin
TheGreatAndPowerfulOz3-Nov-14 10:06
TheGreatAndPowerfulOz3-Nov-14 10:06 
GeneralRe: Unreachable code detected Pin
Marc Clifton3-Nov-14 10:33
mvaMarc Clifton3-Nov-14 10:33 
GeneralRe: Unreachable code detected Pin
TheGreatAndPowerfulOz3-Nov-14 11:50
TheGreatAndPowerfulOz3-Nov-14 11:50 
GeneralRe: Unreachable code detected Pin
Rob Grainger20-Dec-14 2:41
Rob Grainger20-Dec-14 2:41 
GeneralRe: Unreachable code detected Pin
Gary R. Wheeler8-Nov-14 1:39
Gary R. Wheeler8-Nov-14 1:39 
GeneralRe: Unreachable code detected Pin
Rob Grainger20-Dec-14 2:42
Rob Grainger20-Dec-14 2:42 
RantWeird but not so wonderful Pin
kmoorevs29-Oct-14 8:28
kmoorevs29-Oct-14 8:28 

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.