6 ms·
Well, people still use Lisp, Fortran, BASIC, and C. According to the TIOBE Index, C (1972) is the most popular programming language in April 2021 (followed by
by musicale 6y ago
Well, people still use Lisp, Fortran, BASIC, and C.
According to the TIOBE Index, C (1972) is the most popular programming language in April 2021 (followed by Java, Python, C++, C#, Visual Basic, JavaScript and, uh, Assembly Language. Fortran was at #20.)
So COBOL is in good company. ;-)
- anthk 6y agoCurrent C is not 72's C, not even ANSI C.
- accelbred 6y agoMy job is writing code in ANSI C89 so cant say that's true everywhere.
- anthk 6y agoAnsi C is fine, but anything before TCPL 2E it's out of question.
- bregma 6y agoCurent object-oriented COBOL 2014 isn't Admiral Hopper's system programming language for writing missile defense systems in in the 1960s either. Your argument doesn't hold.
- pasttense01 6y agoCOBOL was never "Admiral Hopper's system programming language for writing missile defense systems in in the 1960s either." It was always designed for business type applications. Back in the 1960s assembly language was used for writing the missile defense systems and other systems programming [later C and Ada, etc became prevalent].
- ihumanable 6y agoHaving spent some part of my career rewriting COBOL into Java (1.4, so, you know, not cutting edge) I don't really have much good to say about COBOL but I have found the coverage of COBOL so weird in the media. As you very rightly pointed out, no one ever goes, "The networking stack in your smartphone is written in C, a nearly 50 year old programming language" but governments underfund their IT infrastructure and then go, "Welp, nothing we could do, COBOL is sooooo old." The amount of mismanagement that gets deflected away by pointing at COBOL and tapping into the largely justified distaste the development community has for COBOL is a real convenient out for the people responsible for that mismanagement.
- CSSer 6y agoI don't know who originally said it, but does the old adage, "code is harder to read than it is to write" apply here? Is COBOL more difficult to read than C?
- anadem 6y agoCOBOL's a lot simpler in that the words are (should be) more expressive, but as it's less powerful than C it's less terse and there's a lot more reading to do. So the ability to understand a program isn't necessarily better in COBOL than in C.
- AnimalMuppet 6y agoOK, but in C I have functions to open, read, and write sockets. Do I have them in COBOL? This matters, because with C I can connect my existing C software to a web server, which lets me tie ancient software into the modern infrastructure. I suspect that's harder to do with COBOL...
- darksaints 6y agoC is certainly still popular, but it probably wouldn't be if there wasn't so much infrastructure built in the last 50 years that keeps it in demand. What's really interesting to me is that SQL and ML were created in 1973 and 1974 respectively. And yes, those languages have evolved over time, and yes, they have some warts and telltale signs of age... but overall they still are considered very high level languages, and are still incredibly popular in their own right. For a recent project, I chose F# (an ML descendant) and SQL, not because I had to integrate with legacy software written in those languages, but because they're still great languages.