2 ms·
Anybody who calls C, C++, and Java three of the most different programming languages out there is someone who has never tried LISP, Prolog, or SQL. He also fla
by rjhansen 11y ago
Anybody who calls C, C++, and Java three of the most different programming languages out there is someone who has never tried LISP, Prolog, or SQL.
He also flat says "C++ OOP has nothing to do with Java-like OOP", which is just not true. To name two big, major things, Liskov substitution and class invariants both work the same way when modeling Java and C++ code.
He also has some strange beliefs about the total supremacy of the compiler when it comes to writing Assembly. Compilers are great tools (as my buddy Doug says, "a compiler is an expert system for creating Assembly"), but like all expert systems they've got holes in their game. In the long run the compiler will eat your lunch, but in the small run the human can still prevail. I've written Assembly that out-performs compiled code for ~100 lines; I know several others who have done likewise.
The author seems to have a lot of technical understanding of the C++ language, but not very much in the way of wisdom about it.
- vitaut 11y agoCalling C, C++ and Java "the most different programming languages in the world" is, of course, an exaggeration, but it's hard to disagree that the way you write idiomatic code in the three language is completely different.
- rjhansen 11y agoAs an observation, that's trivial: as an apologia, it's inadequate. I'm judging the author on what he said, not what other people think he really meant to say. If you change what the author said to be "C, C++ and Java are written in different ways," then sure, the author's right. But that's not what the author wrote, and what the author wrote is unsupportable.
- vitaut 11y agoI think you are nitpicking here. There is a figure of speech called "hyperbole" which "the use of exaggeration as a rhetorical device" (http://en.wikipedia.org/wiki/Hyperbole http://en.wikipedia.org/wiki/Hyperbole). BTW I don't understand why you refuse to comment on the original post. The author could clarify to you what exactly he meant.