4 ms·
So it's true that Java is managed and C/C++ aren't. But Java is still very much a descendant of C++, semantically as well as syntactically. You don't have to
by bunderbunder 14y ago
So it's true that Java is managed and C/C++ aren't.
But Java is still very much a descendant of C++, semantically as well as syntactically. You don't have to look any further than the type system (primitives are not objects) to see that.
- shrughes 14y agoC++ primitives are the practically the same as C++ objects. Just look at C++, there are a million design decisions to make things that way. You can feel the sense of apology in C++ for every place where they're distinguishable. (The only places I can think of right now are the initialization of constants in header files and usability as template parameters.)