Most people quit PERL when they realised that it caused excess wear & tear on their keyboard's '$' key.................
Java isn't a scripting langauge.
Sure, it's slower than C and C++, but it's generally a factor of 3-4 times slower than C and C++, not a factor of 100, like scripting langauges.
I think the langauge is a lot more elegant than C or C++ as well.
If I am developing something for myself, it's gonna be in C++ (See BomberLAN ), but I still find programming in Java to be enjoyable. It's nice to have extremely well documented APIs, and an exception system that usually makes problems visible at their origin, not some point later in a program, and garbage collection.
Personally, I don't like Java. True object orientation (i.e. putting main in a class) is something that I do not enjoy. But, since the world seems to love it and it covers many platforms, I am gonna learn it.
>>putting main in a class
This offends me as a human being. I just find the whole concept offensive. This is mainly because, doing what I do, I find speed to be the ultimate variable. And that anal-retentive geek part of me resents the fact that Java does the aformentioned garbage collection. ........ off! I'll do it myself! personally I prefer it when things dont work right if I dont code it right.
So you code everything in handcrafted asm?
I learned java as my first programming language, and its not that bad. It makes you aware of the restrictions, since it wont let you do stuff C would normally allow you to do.
Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.
>>Sure, it's slower than C and C++, but it's generally a factor of 3-4 times slower than C and C++, not a factor of 100, like scripting langauges.<<
i agree with you for the most part SIlent Strike, but there is one scripting language that is close to my heart. Python. if i needed to code a basic everyday desktop GUI application for windows, Linux, Mac...whatever...i would choose python over java anyday. While java is faster than python, python's GUI packages are written in native code. In fact you can write any extention to the language in C++. Swing is written in java and is noticeably slow on a "fast" machine. Swing was a mistake...
>>So you code everything in handcrafted asm?
Of course. Doesnt everybody?
I just meant that I chose the tools that best suit my needs. I'm not putting java down as a useless language, far from it. I just said that its useless for what I do.