Click here to Skip to main content
15,895,793 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: I just used a goto! Pin
Fueled By Decaff20-Jun-19 21:28
Fueled By Decaff20-Jun-19 21:28 
GeneralRe: I just used a goto! Pin
Fabio Franco20-Jun-19 23:21
professionalFabio Franco20-Jun-19 23:21 
GeneralRe: I just used a goto! Pin
Super Lloyd21-Jun-19 4:05
Super Lloyd21-Jun-19 4:05 
GeneralRe: I just used a goto! Pin
Fabio Franco21-Jun-19 5:14
professionalFabio Franco21-Jun-19 5:14 
GeneralRe: I just used a goto! Pin
Super Lloyd21-Jun-19 5:22
Super Lloyd21-Jun-19 5:22 
GeneralRe: I just used a goto! Pin
kalberts24-Jun-19 2:09
kalberts24-Jun-19 2:09 
GeneralRe: I just used a goto! Pin
TNCaver21-Jun-19 4:03
TNCaver21-Jun-19 4:03 
GeneralRe: I just used a goto! Pin
sparklesalt21-Jun-19 4:33
sparklesalt21-Jun-19 4:33 
Use of GOTO is not always bad, nor a sign of poor design. Have a look at the Linux kernel source code sometime. You will see it littered with GOTOs everywhere. GOTO is an elemental part of their error-handling paradigm, they use it in a defined and regular way. The Linux kernel is not the only major and highly regarded software project to use this method, either, it just may be the most prominent.


But that said, a colleague of mine tried to employ the same paradigm to some of our own in-house code, and upper management pitched a hellacious fit when they got wind of somebody trying use GOTOs. A group of developers (very good ones) mounted a defense of it, but it was no use. Everybody flatly over-ruled, everybody shamed for having the thought.
GeneralRe: I just used a goto! Pin
Gerardo Orozco21-Jun-19 4:34
Gerardo Orozco21-Jun-19 4:34 
GeneralRe: I just used a goto! Pin
englebart21-Jun-19 4:52
professionalenglebart21-Jun-19 4:52 
GeneralRe: I just used a goto! Pin
Super Lloyd21-Jun-19 5:27
Super Lloyd21-Jun-19 5:27 
GeneralRe: I just used a goto! Pin
sasadler21-Jun-19 6:28
sasadler21-Jun-19 6:28 
GeneralRe: I just used a goto! Pin
Michael Breeden21-Jun-19 8:29
Michael Breeden21-Jun-19 8:29 
GeneralRe: I just used a goto! Pin
gggustafson21-Jun-19 10:12
mvagggustafson21-Jun-19 10:12 
GeneralRe: I just used a goto! Pin
Member 916705723-Jun-19 23:05
Member 916705723-Jun-19 23:05 
GeneralRe: I just used a goto! Pin
Matt McGuire24-Jun-19 7:18
professionalMatt McGuire24-Jun-19 7:18 
GeneralCCC 20/6 Pin
PeejayAdams19-Jun-19 22:12
PeejayAdams19-Jun-19 22:12 
GeneralRe: CCC 20/6 Pin
pkfox19-Jun-19 23:30
professionalpkfox19-Jun-19 23:30 
GeneralRe: CCC 20/6 - SOLVED Pin
PeejayAdams19-Jun-19 23:35
PeejayAdams19-Jun-19 23:35 
GeneralRe: CCC 20/6 - SOLVED Pin
pkfox19-Jun-19 23:38
professionalpkfox19-Jun-19 23:38 
GeneralBug Of The Year, aka Booty! :D PinPopular
Super Lloyd19-Jun-19 16:40
Super Lloyd19-Jun-19 16:40 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Brisingr Aerowing19-Jun-19 17:24
professionalBrisingr Aerowing19-Jun-19 17:24 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Johnny J.19-Jun-19 19:30
professionalJohnny J.19-Jun-19 19:30 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
the goat in your machine19-Jun-19 19:41
the goat in your machine19-Jun-19 19:41 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
dan!sh 19-Jun-19 23:24
professional dan!sh 19-Jun-19 23:24 

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.