2 ms·
>"This is what gets lost. C++ was designed with the premise that the language allows you to use it both in a C-like context and a Java-like context." I got los
by pmelendez 13y ago
>"This is what gets lost. C++ was designed with the premise that the language allows you to use it both in a C-like context and a Java-like context."
I got lost with the "Java-like context" thing. If I am not mistaken, by the time that C++ was designed there no language with a GB other than Lisp dialects. Jav
a would appear like 12 years after, so I am not sure what you mean with Java-lik
e context.
As for the design goals of C++, I think was actually to create a superset of C t
hat allow to give abstraction facilities that C doesn't have (starting with OOP but right now way more than that)
- pjmlp 13y agoIf by GB you mean garbage collection. Lisp, Smalltalk, Ada, Simula, ML, ... Simula was the inspiration for C++ by the way.