|
>> GOTOs can be pernicious but if you remove them from the language, you have to do more work to use the new language spec. Guys can we get real about this for a while? Nobody - repeat nobody is taking ANYTHING (yes I am shouting) away. They have simply chosen not to support some of the more antiquated features of the RPG language in the new free-form option. Note the word OPTION. The existing RPG IV stays the way it is. The new free-form variant is just that an additional variant. Frankly I think if you absolutely must use a GOTO (and I'd fire anyone who did) then the fact that you have to drop out of free-form to do it is a positive advantage since it makes it obvious to everybody that the ghastly thing is there just waiting to jump on them in the future! No argument that a GOTO can sometimes be the simplest fastest way of handling something and if I was the only one who ever maintained my code maybe I wouldn't mind so much. Trouble is I'm not the one who maintains it and once you allow its use who is to say that it can't be used elsewhere in the program. Me - I'm a simple soul - I figure banning it is way easier than sorting out the mess its abuse causes. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.