15 Sep
2004
15 Sep
'04
17:13
Steven T. Hatton wrote:
Q: This question is for people with both C++ and Java experience. Do you believe there are features of Java that C++ could also have, and would benefit from?
Yes: 1. mutexed blocks (why does java call them 'synchronized' when they can't happen at the same time?) 2. garbage collection. 3. swing. Of course, you can do all of this in C++ already, but java handles most of this much better and the first two could be built in to the language. I suspect it's more likely that java will gain features from C++, like the generics in 1.5.0 and get nearly as fast with gcj. C++ could benefit from features of most languages, except of course Visual Basic, which is the supreme absence of good. -- JDL