3 ms·
I'd rather avoid Java itself like the plague :) The JVM may be great, but the language itself is mediocre at best! Maybe if it someday gets type inference, re
by jeremiep 14y ago
I'd rather avoid Java itself like the plague :)
The JVM may be great, but the language itself is mediocre at best!
Maybe if it someday gets type inference, removes the null pointer (and therefore the stupid NullPointerException in "memory safe" code), adds lambda expressions, adds compile-time function evaluation, doesn't try to wrap everything inside a class and a few more improvements especially to limit the god-awful verbosity, I might give it a try again - but by then we'd call it Lisp.
The D language has completely replaced C/C++/Java/C# for me, it's not as portable yet but it's getting there.
You should give Haskell a try, I don't use it much yet but merely understanding concepts such as monads, type classes and applicative functors have completely changed my perspective on software development. It's just like learning Lisp; it's enlightening to say the least.
- meaty 14y agoThe language is simple, which is its main virtue. Problems are easy to solve and communicate. Most problems are already solved as well which is how you spend less time writing code and more time delivering functionality (or taking holidays). Agree with type inference, but null pointers are fine (if you know what you are doing and use commons.lang validator). Don't really need lambda, but its coming anyway. Compile time evaluation - no thanks. Verbosity is solved with tooling. I'm proficient with common lisp and scheme (ive even built my own scheme vm) and I'd rather use java over either to be honest because it is so hard to get anywhere with lisp variants and the only ide worth mentioning (slime/emacs) is unreliable and clunky. It's a ghetto. I spent 2 months trying to build something in Haskell. Its fine for data processing tasks, math and comp Sci focussed stuff but for productive every day use, its a pain in the arse. It's also write only. Enlightenment for me was discovering and writing a forth interpreter and compiler. Then discovering RPL on the HP48 series of calculators. Before that it was BBC BASIC (not to be confused with mere BASIC) and ARM assembly.