3 ms·
I had lots of experience in Modula-2 and Pascal (including Turbo Pascal) before C. I liked C very much. The very syntax was a breath of fresh air; just } to cl
by kazinator 7y ago
I had lots of experience in Modula-2 and Pascal (including Turbo Pascal) before C. I liked C very much. The very syntax was a breath of fresh air; just } to close scopes and so on. The declarations that resembled uses of the identifier looked good to me.
Good old Don Knuth had a similar reaction (also coming from lots of experience in Pascal, Algol and their ilk). In a 1993 interview he said this: I think C has a lot of features that are very important. The way C handles pointers, for example, was a brilliant innovation; it solved a lot of problems that we had before in data structuring and made the programs look good afterwards. C isn't the perfect language, no language is, but I think it has a lot of virtues, and you can avoid the parts you don't like. I do like C as a language, especially because it blends in with the operating system (if you're using UNIX, for example).
I don't entirely agree with him but sympathize with the reaction. (No you can't avoid the bits you don't like, unless you're a lone hacker who doesn't have to integrate any third party-code, which pretty much describes Knuth.)
- pjmlp 7y agoTo each its own I guess. For me, C versus Turbo Pascal 6.0 just felt backwards, thankfully the professor that was giving us C classes, also made a C++ compiler available on the school lab. So given the choice of C vs C++, when coming from Wirth's school of type safety, the option was obvious.