I am on an iSeries, the little brother to the z. We have a pair of zSeries as well. COBOL and RPG (its fully free form by the way, looks like any other language) are both very much rooted in business logic, in particular math. Their number handling is well known and without inconsistencies of many newer languages. That and the code base is well established and works. Throw in that memory leaks are nearly non existent, code is independent of changes to the microprocessors and your investment always comes forward.
Seriously, we have code whose originals can be traced to systems long dead. Yet code is not stagnate, full SQL integration exists for most language, there are many ways to get to the web. That and you would be surprised at the number of companies who use these machines simply for one reason above all, reliability. Our last crash was a site failure and even then we rolled to the DR site instantly.
I've been lucky enough to do an internship in banking, where Cobol is (and I guess will be for the foreseable future) the core language.
I didn't have to write lots of Cobol, but it's been very educational: both its very rigorous syntax (and number handling as you said!) and the fact that the code I was modifying had been written even before I was born.
"If it ain't broke, don't fix it"
Cobol in itself is not a bad language at all! Mainframes are obviously rock solid and for development purposes, open source implementations of MVS exist (and were already useful 15 years ago, such as Hercules[1])
Comments
I am on an iSeries, the little brother to the z. We have a pair of zSeries as well. COBOL and RPG (its fully free form by the way, looks like any other language) are both very much rooted in business logic, in particular math. Their number handling is well known and without inconsistencies of many newer languages. That and the code base is well established and works. Throw in that memory leaks are nearly non existent, code is independent of changes to the microprocessors and your investment always comes forward.
Seriously, we have code whose originals can be traced to systems long dead. Yet code is not stagnate, full SQL integration exists for most language, there are many ways to get to the web. That and you would be surprised at the number of companies who use these machines simply for one reason above all, reliability. Our last crash was a site failure and even then we rolled to the DR site instantly.
I've been lucky enough to do an internship in banking, where Cobol is (and I guess will be for the foreseable future) the core language.
I didn't have to write lots of Cobol, but it's been very educational: both its very rigorous syntax (and number handling as you said!) and the fact that the code I was modifying had been written even before I was born.
"If it ain't broke, don't fix it"
Cobol in itself is not a bad language at all! Mainframes are obviously rock solid and for development purposes, open source implementations of MVS exist (and were already useful 15 years ago, such as Hercules[1])
[1]http://www.hercules-390.org/