3 ms·
Have you seen how much complexity Java has just for hello world!? It's truly absurd. And, as somebody who's tried teaching Java to complete beginners, I can att
by tikhonj 13y ago
Have you seen how much complexity Java has just for hello world!? It's truly absurd. And, as somebody who's tried teaching Java to complete beginners, I can attest that it isn't intuitive at all.
There's no way this Java thing will catch on. Why would anyone choose to deal with it?
- olavk 13y agoHaskell and Java are not the only language in the world. The poster might prefer an OO-language without the HelloWorld-overhead as Java. Like, say, Python where hello world is literally print "Hello World" And in the case of Java, it is well known that Java is not intended or used for writing one-lines, so it is not really a relevant criticism. And even if it were, it doesn't refute any criticism of Haskell that you are able to point out unrelated shortcomings in an unrelated language.
- tikhonj 13y agoMy point was that it hasn't stopped Java from becoming popular--more popular than Python, even! After all, people do choose to deal with all the wanton complexity of Java. Also, the example of hello world doesn't show much about complexity. After all, in Haskell it's just: main = putStr "Hello World"