Click here to Skip to main content
15,915,600 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Eight Pages Pin
Brisingr Aerowing10-Nov-13 12:12
professionalBrisingr Aerowing10-Nov-13 12:12 
GeneralRe: Eight Pages Pin
#realJSOP10-Nov-13 23:18
professional#realJSOP10-Nov-13 23:18 
GeneralI have no idea if this is real... Pin
OriginalGriff10-Nov-13 2:52
mveOriginalGriff10-Nov-13 2:52 
GeneralRe: I have no idea if this is real... Pin
ledtech310-Nov-13 3:04
ledtech310-Nov-13 3:04 
GeneralRe: I have no idea if this is real... Pin
BillWoodruff10-Nov-13 3:16
professionalBillWoodruff10-Nov-13 3:16 
GeneralRe: I have no idea if this is real... Pin
Mike Hankey10-Nov-13 4:19
mveMike Hankey10-Nov-13 4:19 
Generalgoto statement Pin
Tarek Elqusi9-Nov-13 20:53
professionalTarek Elqusi9-Nov-13 20:53 
GeneralRe: goto statement PinPopular
OriginalGriff9-Nov-13 21:23
mveOriginalGriff9-Nov-13 21:23 
Because in nearly every case I have seen of it's use in C# or C++ it has been unnecessary, and only served to both confuse the code and show that the person who used it did not understand what he was doing.

goto is not evil - but it is a "rule breaker" in that it violates all the principles of good code design and so using it should only be done with care. The problem is that it it taught on courses by lazy tutors as an easy way to get them started and then gets abused later because the students consider it "Normal" and don't learn to structure code well in the first place as a result.

If you had grown up with GOTO as pretty much the only form of flow control (as I did) you would probably understand how easy it is to create impenetrable code with it, and why it should be discouraged until the coder is experienced enough to know when it is appropriate. About five years of "real" coding should be enough. But by then, he is probably experienced enough to know that there are probably better ways to achieve the same result...
The only instant messaging I do involves my middle finger.

English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

GeneralRe: goto statement Pin
GuyThiebaut9-Nov-13 21:48
professionalGuyThiebaut9-Nov-13 21:48 
GeneralRe: goto statement Pin
OriginalGriff9-Nov-13 22:17
mveOriginalGriff9-Nov-13 22:17 
GeneralRe: goto statement Pin
CDP18029-Nov-13 22:06
CDP18029-Nov-13 22:06 
GeneralRe: goto statement Pin
OriginalGriff9-Nov-13 22:16
mveOriginalGriff9-Nov-13 22:16 
GeneralRe: goto statement Pin
Gary R. Wheeler9-Nov-13 23:55
Gary R. Wheeler9-Nov-13 23:55 
GeneralRe: goto statement Pin
Stefan_Lang10-Nov-13 22:13
Stefan_Lang10-Nov-13 22:13 
GeneralRe: goto statement Pin
Rob Grainger10-Nov-13 22:32
Rob Grainger10-Nov-13 22:32 
GeneralRe: goto statement Pin
vl211-Nov-13 7:56
vl211-Nov-13 7:56 
GeneralRe: goto statement Pin
Rob Grainger13-Nov-13 2:02
Rob Grainger13-Nov-13 2:02 
GeneralRe: goto statement Pin
TNCaver11-Nov-13 6:54
TNCaver11-Nov-13 6:54 
GeneralRe: goto statement Pin
Kornfeld Eliyahu Peter9-Nov-13 23:54
professionalKornfeld Eliyahu Peter9-Nov-13 23:54 
GeneralRe: goto statement Pin
OriginalGriff9-Nov-13 23:55
mveOriginalGriff9-Nov-13 23:55 
GeneralRe: goto statement Pin
  Forogar  10-Nov-13 5:26
professional  Forogar  10-Nov-13 5:26 
GeneralRe: goto statement Pin
OriginalGriff10-Nov-13 5:34
mveOriginalGriff10-Nov-13 5:34 
GeneralRe: goto statement Pin
  Forogar  10-Nov-13 6:09
professional  Forogar  10-Nov-13 6:09 
GeneralRe: goto statement Pin
Richard Andrew x6410-Nov-13 9:28
professionalRichard Andrew x6410-Nov-13 9:28 
GeneralRe: goto statement Pin
  Forogar  10-Nov-13 12:52
professional  Forogar  10-Nov-13 12:52 

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.