Java is a high level language will a bullshit forcive class hierarchy philosophy, terrible abstraction, static typing and it harder to write in than C. It's a high level language with none of the benefits of a high level language. All of my why.
Python is a high level language with a bullshit forcive indentation philosophy, terrible performance, weak typing and it harder to write than PHP. It's a high level language with none of the benefits of a high level language. All of my IHBT
Been writing Java professionally for well over a year now.
There are some major things wrong with the language:
- in general, "composing" things is hard. Everything is hierarchy.
- the code looks very noisy.
- no object literals; get/set boilerplate.
- multithreading with locks sucks.
- crippled generics system. Type system in general kind of sucks.
But there are some things I like about it:
- Interfaces are nice. Assuming static typing.
- Inner classes are nice. Though lambda would be preferable. It's a way to go, but I do tire of writing new Runnable(){ public void run(){
Are there any languages that target the scenario where you might have thousands of pcs doing distributed computing, hooked up in a peer to peer network, or maybe on a big lan? It seems like there would be a lot of interesting issues, like distributing the data, sharing the data, and modifying the data and invalidating other copies of the data on the network. I'd like to learn a few, although I will never own the resources to use or test it.
>>10
The JVM is fine; the the complaints about threads are annoying as shit, but different implementations focusing on the same virtual opcodes turned out quite well, and Erlang is fucking fantastic.
learnyousomeerlang.com
Name:
Anonymous2011-12-18 15:54
>>10
I was going to list GC as a plus, but then, Java's stop-the-world GC algorithm is actually kind of lame.
Name:
Anonymous2011-12-18 17:27
You know there's more than one java GC type...
Name:
Anonymous2011-12-18 17:38
>>13
The JVM sucks dick. The fact that you think its fine reflects that fact you have never actually written any kind of real Java code. Now shut up and go scrub another toilet you fucking mental midget.
Name:
Anonymous2011-12-18 17:40
Java makes android suck . I swear my phone is always leaking memory with the applications. That or it just doesn't care to free unused shit. I don't even use anything besides a grower on it and my memory use is almost always 80% used on a 1 gb ram
>>15
Yes, I'm sure Azul is wonderful if you have the hardware for it. Here in the real world we're stuck with Sun/Oracle Java and OpenJDK, neither of which have decent GC.
Name:
Anonymous2011-12-18 19:45
>>20
If you're so great at knowing what a good GC means then why don't you make it. It's called OPEN FOR A REASON
>>21
JVM has some of the worst GC because I won't implement a better one. That's you're argument? Why would I even do that?
Name:
Anonymous2011-12-18 21:10
>>22 JVM has some of the worst GC because I won't implement a better one. That's you're argument?
No, that's not what i said. I clearly said that if you're so great at knowing good GC's from bad ones why don't you implement a good one in the JVM for all of us.
>>1
Cool story bro. Different tools for different jobs.
Name:
Anonymous2011-12-19 0:55
>>16
I've never used Java for anything worth noting, because when I did use it for some time functions just playing around with the language itself I hated it, and my time is better spent on something nice like Erlang. The virtual machine has only pissed me off when I;ve played Minecraft, and the Davlick JIT in Android seems to bring it somewhat near native code, so I don;t have a definite problem with the JVM, but that is comsidering my hate for the language itself.