On Sat, 18 Jan 2003 19:41:50 +0530 Manish Jethani wrote:
of C/C++'s "unspecified", "undefined" (nasal demons) and "implementation-defined" things have well-defined equivalents in Java.
Use a compiler from just one vendor and use it for just one platform (essentially what you are doing with Java) and these issues are resolved. BTW, by abstraction I meant the kind of abstraction afforded by scripting languages since the parent poster referred to them, the above mentioned gotchas remaining as they are.
Java might be full of these "old hacks" but somehow they're useful! Just because they're old hacks doesn't mean they're automatically useless (and certainly doesn't give C/C++ an edge over Java).
My point was that they are not exclusive to Java and certainly available in C++.
And how about a HUGE and /well-designed/ foundation class library. Add to that the tons of ready made components/libraries available on the Internet.
Ditto for C++. I never disputed about the extensive Java library but one should not ignore that there are libraries for almost all those things in C and C++ too. Though the standard C library is rather small, the standard C++ library (incl. STL) is much more extensive and statically typed to boot.