Re: C++ or Java ?
From: Daniel James (wastebasket_at_nospam.aaisp.org)
Date: 06/25/05
- Next message: Sean: "Re: Some soft GUI toolkit?"
- Previous message: Paul Pluzhnikov: "Re: Signal causing program hanging"
- In reply to: Luc The Perverse: "Re: C++ or Java ?"
- Next in thread: Luc The Perverse: "Re: C++ or Java ?"
- Reply: Luc The Perverse: "Re: C++ or Java ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 25 Jun 2005 19:11:38 GMT
In article news:<42bc5a05$0$1225$3a2ecee9@news.csolutions.net>, Luc The
Perverse wrote:
> Without proper OOP, C++ is utter chaos.
That's not actually true. One of the advantages of C++ is that it can be
used to implement many different program design methods, whereas Java
pushes you unceremoniously along an OOP path whether it's the right path
for the problem at hand or not. For this reason C++ is often referred to as
a multi-paradigm programming language.
It's certainly true that a large body of C++ code written without the
benefit of an overall design will be a mess, but the overall design doesn't
have to be OOD. That's just one of the common choices (and with good
reason, for some tasks it's the best choice).
Is C++ better than Java? It depends what you want to do (and what you mean
by better). C++ is a more complex language than Java and that makes it more
powerful and gives it something of a learning curve. The Java language is
simpler, but it still has a big learning curve by virtue of all the
libraries and framworks (and supporting tools) one ends up having to learn.
At the end of the day it depends whether the benefit of having those
libraries and tools outweighs the benefit of having a more powerful
language ... remembering that there are libraries and tools for C++ as
well, just not such a bewildering array of them.
I have a bias towards C++, but Java is sometimes a better tool for a
particular job ... and have you thought about Python?
Cheers,
Daniel.
- Next message: Sean: "Re: Some soft GUI toolkit?"
- Previous message: Paul Pluzhnikov: "Re: Signal causing program hanging"
- In reply to: Luc The Perverse: "Re: C++ or Java ?"
- Next in thread: Luc The Perverse: "Re: C++ or Java ?"
- Reply: Luc The Perverse: "Re: C++ or Java ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|