3 ms·
> will fade into disuse. That's one thing I'd like C to do. It was an adequate language in 1970, but in 2018, we have a few better approaches that have a chanc
by nine_k 9y ago
> will fade into disuse.
That's one thing I'd like C to do. It was an adequate language in 1970, but in 2018, we have a few better approaches that have a chance to turn into viable alternatives to C.
Of course, I don't see C falling into disuse any time soon. The amount of critical code written in C is enormous, without a way in sight to reasonably replace. So keeping C in a good shape is important, whatever shortcomings the language may have.
- pjmlp 9y agoNot even that much in 1970, if you look into old papers about the systems programming languages being used at other research institutes besides AT&T.
- Roboprog 9y agoIndeed. Having started my CS degree work in the early 80s, I got to see “things other than C/C++”. In retrospect, I often jokingly refer to the 80s as “the x86/PC disaster”, an extinction level event for programming languages where the choices were to run either assembler, or C, on the IBM PC to build software of any size due to the limitations of the hardware. Rather than trying to improve curly brace languages, it’s time to bury them. For starters, hiding identifiers after arbitrarily long type expressions, instead of starting a line/block/expression with a name, is an un-fixable PITA. (Sorry, AT&T, Algol had it right) Requiring a “break” in a case statement is a botch, instead of some kind of “or” / “set” / “range” test. C is useful as a portable assembler, I guess. Otherwise I don’t really like any of C’s offspring all that much. I sort of like Javascript in spite of being forced to look like Java/C++, but that’s only because I learned some Lisp (alas, not Scheme) back in the day.