In my CPP class my professor strictly asked us to not to use goto statement as long as possible. Why is so, as I think there are no memory or any issues whatsoever with goto?
            Asked
            
        
        
            Active
            
        
            Viewed 77 times
        
    0
            
            
        - 
                    ***Why is so, as I think there are no memory or any issues whatsoever with goto?*** Primarily it makes the code harder to read and understand. – drescherjm Feb 14 '20 at 12:41
- 
                    BTW, I remember 30+ years ago having a professor ask me directly to please stop using goto. I was his top student and I could understand the code at the time anyways I have written probably 2 million lines of code since and probably less than ten of these had a goto.. – drescherjm Feb 14 '20 at 12:47
- 
                    However, [`COMEFROM`](https://en.wikipedia.org/wiki/COMEFROM), is much worse than `goto`. – Pete Becker Feb 14 '20 at 15:33