Can you give us an example of the benefits of using objects and Frameworks in our existing programs?
#VisualCOBOLUniverse2020
Can you give us an example of the benefits of using objects and Frameworks in our existing programs?
Can you give us an example of the benefits of using objects and Frameworks in our existing programs?
You bet! In COBOL we make a lot of use of arrays. A COBOL array is no different than a C# array or a Java array. But – the .Net and Java Frameworks contain Collection classes that are like arrays on steroids. Much of the programming effort we do to utilize arrays can be eliminated by creating a List collection object, or a Dictionary collection object and using it instead of a plain array. You can do this in your existing COBOL programs with a single line of code. Inserting/deleting/sorting/searching can then be done utilizing proven, tested Framework code rather than having to write, test, and maintain our own implementation.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.