java is much better than c

S

Stuart Redmann

why you can get your answer from this link

[snipped link]

I couldn't find any reasons at this page. But I'd like to say that there
are some Java features that I'd like to have in C++: the synchronized
and the interface keywords.

Besides this I very much appreciate that Java has a platform-independent
GUI library (which is not a real plus for Java, as there are some free
platform independent GUI libraries for C++, but I quite like the idea of
having layout managers that care for proper layouting), networking
library, and others.

Although both of these languages are often required for some progamming
job, I don't think that they have much of a chance against Ada95. This
is one of the relatively few non-esoteric languages that have an actual
type system (not this poor typedef-aliasing that you have in C++).

Also I think that it'd be nice if C++ had some concept of class
invariants (like D has) that are checked by the compiler in debug
builds, and some feature like named parameter association (without
having to resort to download boost and do some painful coding).

So, I just wanted to speak my mind. Of course I would never dream of
saying that some particalur language (as C++) is good or bad. As Victor
has said more than once, it depends on the problem you are trying to solve.

Have a nice weekend,
Stuart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top