Chris Uppal wrote:
BTW, you come across as being strongly averse to objects. (Fair enough, I
dislike spiders myself...) But if that's the case, why /are/ you trying to use
Java ?
</snip>
WHY is everyone jumping to the conclusion that I am adverse to objects?.
I simply dont like the idea of spawning a new object (with all the
concomitant baggage) when a simple struct will do. I may not be up to
date with Java's latest performance figures etc, but coming from a
strong C++ (which allows you much more freedom - admitedly a double
edged sword if you dont know what you're doing), I must admit that I
view Java quite suspisiously when it comes to memory operations and
sheer performance - there I said it.
As to why I'm using Java - I mentioned in a previous post that Java has
several good points in its favour - enterprise computing, internet and
network aware (almost out of the box) etc - and not to mention the
seductive compile once run anywhere slogan. That is the main reason why
I am taking a look at Java. I must admit though that some of you guys
are *way* too sensitive about Java. It's just a language for Christ's
sake !.
I'm trying to learn Java by jumping in at the deep end - If i ask a
question (no matter how silly it may seem), it is because I have become
unstuck and done a google search - which yielded no useful results. Most
of the stuff that I take for granted in C++ appears missing in Java
(1.4): Type safe enumerations, variable length args, Template Classes,
proper string formating ala 'printf', and of course my beloved pointers
and memory adressing which I'll simply have to forget when using Java.
So by the time I come to ask a question, I'm pretty frustrated at the
(aparent) short comings of the language - if that makes me sound
critical, it has not been my intention and I apologize. But likewise,
you guys have to losen upa nd stop thinking that everyone is critisizing
your 'beloved' Java. Like I said, its only a language ...