Click here to Skip to main content
15,901,284 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: OMG a "Goto" Pin
tobster31-Oct-08 3:52
tobster31-Oct-08 3:52 
GeneralRe: OMG a "Goto" Pin
Super Lloyd31-Oct-08 13:32
Super Lloyd31-Oct-08 13:32 
GeneralRe: OMG a "Goto" PinPopular
PIEBALDconsult23-Oct-08 4:30
mvePIEBALDconsult23-Oct-08 4:30 
GeneralRe: OMG a "Goto" Pin
Andrew Rissing24-Oct-08 4:11
Andrew Rissing24-Oct-08 4:11 
GeneralRe: OMG a "Goto" Pin
PIEBALDconsult24-Oct-08 7:09
mvePIEBALDconsult24-Oct-08 7:09 
GeneralRe: OMG a "Goto" Pin
Andrew Rissing24-Oct-08 10:19
Andrew Rissing24-Oct-08 10:19 
GeneralRe: OMG a "Goto" Pin
Paul Conrad24-Oct-08 4:19
professionalPaul Conrad24-Oct-08 4:19 
GeneralRe: OMG a "Goto" Pin
icemanind31-Oct-08 13:03
icemanind31-Oct-08 13:03 
I've programmed for over 10 years. The old BASIC, like GW-Basic or BasicA, yes I can honestly say that goto came in handy. However, I never once used it in C,C++, VB.NET or C#. Never. Since all modern languages have a Continue statement and a Break statement (for loops), I never needed a use for a goto.

The reason, I'm guessing, that its not being removed in modern languages is to keep it compatible with old code. Very rarely does a language "lose" a command. They keep them so old code is compatible.
GeneralRe: OMG a "Goto" Pin
ClementsDan1-Nov-08 18:52
ClementsDan1-Nov-08 18:52 
GeneralRe: OMG a "Goto" Pin
Johan Vorster2-Nov-08 9:31
Johan Vorster2-Nov-08 9:31 
GeneralRe: OMG a "Goto" Pin
steveb5-Nov-08 6:43
mvesteveb5-Nov-08 6:43 
GeneralIn the midst of reviewing some code my client got back from and outsourced refactoring effort... Pin
Austin Harris22-Oct-08 13:14
Austin Harris22-Oct-08 13:14 
GeneralRe: In the midst of reviewing some code my client got back from and outsourced refactoring effort... Pin
PIEBALDconsult22-Oct-08 14:35
mvePIEBALDconsult22-Oct-08 14:35 
GeneralRe: In the midst of reviewing some code my client got back from and outsourced refactoring effort... Pin
Andrew Rissing24-Oct-08 4:05
Andrew Rissing24-Oct-08 4:05 
GeneralRe: In the midst of reviewing some code my client got back from and outsourced refactoring effort... Pin
Paul Conrad24-Oct-08 4:21
professionalPaul Conrad24-Oct-08 4:21 
GeneralWords cannot describe my pain Pin
leppie22-Oct-08 2:48
leppie22-Oct-08 2:48 
GeneralRe: Words cannot describe my pain Pin
CPallini22-Oct-08 3:11
mveCPallini22-Oct-08 3:11 
GeneralRe: Words cannot describe my pain Pin
leppie22-Oct-08 3:16
leppie22-Oct-08 3:16 
GeneralRe: Words cannot describe my pain Pin
CPallini22-Oct-08 3:19
mveCPallini22-Oct-08 3:19 
GeneralRe: Words cannot describe my pain Pin
Scott Barbour22-Oct-08 4:56
Scott Barbour22-Oct-08 4:56 
GeneralRe: Words cannot describe my pain Pin
Eddy Vluggen22-Oct-08 23:27
professionalEddy Vluggen22-Oct-08 23:27 
GeneralRe: Words cannot describe my pain Pin
Megidolaon23-Feb-09 0:15
Megidolaon23-Feb-09 0:15 
QuestionRe: Words cannot describe my pain Pin
CPallini23-Feb-09 0:26
mveCPallini23-Feb-09 0:26 
GeneralRe: Words cannot describe my pain Pin
PIEBALDconsult22-Oct-08 4:23
mvePIEBALDconsult22-Oct-08 4:23 
GeneralRe: Words cannot describe my pain Pin
BillW3322-Oct-08 14:33
professionalBillW3322-Oct-08 14:33 

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.