|
3) Modern languages, like Java, cannot return output through their parameter list. If you want your RPG code to be modern, you shouldn't return data through the parameter list, either.[Scott's response:]
3) All programming languages have their quirks. The best policy is to take advantage of the best features of each, rather than restricting yourself to only using techniques that are available in all languages.
I find it hard to believe that the way you pass parameters will make your code more or less "modern". Instead, do what's practical in the language you're working in, rather than making things more difficult in the name of "being more like Java."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.