P
Paul
The only reference i made to Java was to suggest it is much more portable
across ALL of the new devices that are the current fashion.
i.e: mobile phones, since you obviously need an example to explain this.
Depends on your technical definition of portable. While there might be
less porting work when taking java from implementation A to
implementation B, I'm pretty sure that C is supported on much more
hardware than Java.
...............................................................
What do you mean by 'supported on hardware'?
I didn't realise hardware was designed to support any specifiic programming
language.
With C you need to learn a whole new API everytime a new device comes into
fashion, not so with Java. I could make a crude mobile phone application,
from scratch, in a few hours with java. If I were to attempt this in C it
would take a week to get compiler and API docs alone.
Additionaly the Java App would work on a ton of different phones, and
require very little tinkering to work on the rest. The C App would work on
one type of phone only.
As they seem to be releasing some new gadget every month it will not be
worth spending the time to learn the API, by the time you create your first
App , someone else will probably have done it and it will be time to learn
something new. The only serious use of C++ will be massive programs such as
video games and lets face it only a very select few programmers will ever
reach the grand level of directX video programmer.
I always supported C++ because I was a speed freak, but with the speed of
processors nowadays is there any real noteable difference in most non speed
critical programs, or network programs that are restricted in speed by the
network anyway. I am now leaning towards Java and there is always ASM for
devices that do not support Java, can always hack a program together in C if
needed.
It seems my idea of C++ are not fitting with the direction C++ seems to be
going anyway. As they seem to be going down the route of more complicated
compilers it will be even more difficult to develop compilers for new
devices.
C++ seems to be trying to expand in all directions at once with no real
direction and as I said elsewhere seems very confused and overly
complicated. Yet at the same time C++ seems to be going back in time to C
with a few bolts ons. The chicken-egg scenario with the standards doesn't
make the picture any prettier.
I used to know what a member function was in C++ but apparently I don't
anymore , and neither does Bjarne Stroustrup