I've noticed in the short time I've been reading this board that there's a lot of java bashing, so I was wondering why people actually think it is so bad. I'm no java fan, but I've used it for some stuff before and it didn't seem terrible to me. An argument used to be that it runs slow as a guro-fied loli, but they've improved a lot in that aspect.
Please give good reasons, rather than stuff like "it's for certified professional consultants" or whatever you guys say.
Name:
Anonymous2006-05-01 0:49
Funny, apparently was level of understanding is good enough to get me through my job and through college.
Seriously, you guys spend way too much over this mental masterbation of 'java bad! java bad!'
Ok, java isn't perfect. I haven't come across a perfect language yet. Since you usually have to decide between two mutually exclusive options, I don't know if the 'perfect' language is possible.
And hey, come on! I liked the idea of byte code and JIT, and all that crazy anti-hacker restrictions on java.
Oh, and as for the GC? Strip it out and you've still got Java. References aren't pointers. Oh, and you still got some crazy lingo in there. Besides, Java isn't the only C-like language.
C++,Objective C, D,.... and soo on....
I'm not giving up on yacc or lex anytime soon because of java and I don't think that any open-source C projects are going to be porting themselves anytime soon.
This 'java sucks' fascination comes out of some decent language being hyped up, therefore causing an instinctual desire in some people to say, 'that's not so great!'
Java doesn't have to be the perfect language. It's not faster than assembly. Ok. It's slower than it should be, in everybody's opinion. Ok, let's fix it or wait for it to be fixed. JNI uses some new method that halved call time. All sorts of things get changed all the time to speed up the implementation. Swing used to be bitch ass slow. Now, it's mediocre. Why? Apparently they use more native calls instead of using all java. Now, they can even use some hardware acceleration. Hey, that's just what I read. Don't shoot the messenger. Maybe in the future, they'll get it all right.
Don't use java to write quake 5. Use java to write your p2p application interface into your p2p core. Use java to write your multiplayer 2D adventure RPG game that you want to be able to play with your friends that use Windows and Mac and Solaris and FreeBSD instead of 1334 linux. (Sorry, even compiling library specific code between unixes can be a complete bitch sometimes)
Look, sorry. I'm not going to villify something that's useful. Something like java.