So, given that ALTER was (ab)used (it is really simple to use it in a 
controlled manner, even to confirm in a dump where the paragraph is going, but 
try telling that to people at parties, they just slowly move across the room 
away from you), why would the assumption be that various forms of EXIT won't be 
(ab)used?

You have your own rules for the use of GO TO. Same thing. Does everyone follow 
your rules? I know they don't. I know experienced people generally do.

So, with the experience, I can readily imagine (ab)use of EXIT no matter what.

I don't think any language avoids this problem. People not really suited to 
coding, coding, as you indicate.

There are "code reviews". That's a point to trap such things. How many sites, 
even today, do effective code reviews?


On Wednesday, 13 July 2016 19:39:21 UTC+2, Burrell, C. Todd   , 
CDC/OCOO/OCIO/ITSO, CTR  wrote:
> I completely agree with Frank on the use of ALTER - it makes normal debugging 
> of programs VERY difficult especially when the programs in questions are 
> 20,000+ line dinosaurs that have been modified many times over the decades by 
> many different programmers.  
> 
> I also agree with use of GO TO, but the normal use I have for this was to go 
> FORWARD to the end of a PERFORM'ed section of code to the exit.  Backwards GO 
> TO's are always fraught with potential issues IMO.  
> 
> Bottom line is no matter what restrictions you have in place they will be 
> abused by some programmers.  Bad coders can code poorly no matter what 
> controls you try to put in place.     
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to