Community Manager Community Manager
Community Manager

benefits of object and frameworks

Can you give us an example of the benefits of using objects and Frameworks in our existing programs?

If you find this post useful, please use the Like and/or Accept as a Solution buttons below.
Labels (1)
1 Reply
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

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.  

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.