2 ms·
COBOL (at the time) cost money, C and other languages did not. COBOL was directed at mainframes (expensive, hulking behemoths), mini- and micro-computers could
by Jtsummers 8y ago
COBOL (at the time) cost money, C and other languages did not. COBOL was directed at mainframes (expensive, hulking behemoths), mini- and micro-computers could do much of the work (for small-to-medium offices) without needing the dedicated support staff and cost.
Banks and other big institutions continued using it (and many still use it) due to inertia. Even as they migrated from mainframes, but often by virtualizing them rather than outright replacing them.
Offices without that inertia introduced information systems when someone bought an inexpensive (relatively) machine and wrote a C or BASIC or other program on it to handle expense reports and other things that the corporate users used mainframes (with COBOL) for.
Mainframes required deliberate intent to purchase and use. They cost too much and required a full, proper, division. Local microcomputers within the corporate division required no cross-division coordination, and became "simple" line items in their annual or quarterly budgets.
Eventually companies start centralizing IT again, but by that time their software is all written in Java, C, C++, Perl, and other things so they build up server farms aimed at running that, not at running COBOL.
Why no greenfield COBOL projects? Because we don't have enough developers to do that, and deployment would be a pain. The infrastructure for deploying COBOL isn't present. Make an AWS for COBOL, and maybe people will use it? Probably not though. Also, no one knows it and the language has no compelling features to draw in new users.
It makes reports really well, but so does Perl and Python. It doesn't handle numerical work as well as Fortran (for those caring about performance) or numpy (for those not). And it has a strong cultural bias against it at this point.
- DrScump 8y agocost money, C and other languages did not Only in the UNIX world, where C was a freebie. When I first got into C, pricey Microsoft C and MASM were needed for MS-DOS development. Turbo C, gcc, etc. came later.