> For most application development C++ is better than Java, first of
> all, it performs way better, second of all, it's more consequent
> (imo). When it comes to comparing to C, well, if you code in good
> manners you get code that is way more structured than in C (OO kinda
> does that for you), and it's typesafe (if you behave) etc. You might
> want to look at this page that my apartment-mate did: learn why java
> isn't a great language
Well, yes, I figure that C++ has advantages when it comes to application
development. Java is no speed demon. The advantage of it, though, is that
it is really easy to use once you get the hang of it, and that there is a
whole heap of built-in functionality, like loading and displaying gifs,
jpegs and even html documents. I had a look at your mates page, and he raises
many good points, although I just have to point out: Taking a parameter by
value can be done more elegantly than he does:
object.myMethod(p.clone());
<...>
public myMethod(MyClass p){
}
And it's really quite natural to do, once you get the hang of Java and know
what you're doing.
Still, I guess I'll be looking into C++ this summer. Does anybody know of any
good books on the subject?
Kay