4 ms·
Java on the server is fine if you know how not to poke your eyes out with context reloading and avoid jsp and jsf like the plague :) I find coffeescript/node.j
by meaty 14y ago
Java on the server is fine if you know how not to poke your eyes out with context reloading and avoid jsp and jsf like the plague :)
I find coffeescript/node.js to be a bit too trendy to trust and Haskell to be perl for computer scientists.
If I had my way, I'd write everything in RPL
- zensavona 14y ago"a bit too trendy to trust" I imagine java was trendy also when everything was written in C++
- jeremiep 14y agoBack then, Sun had to spend a fortune to push Java down the throats of developers. Mostly by selling it to their clueless managers instead. Java was born out of a trend and still lives as one to this day, good thing only the corporate world really bought into it!
- meaty 14y agoThe reason its so popular with corporates is that most of the expensive problems are already solved so building software is sticking a few well proven components together with some glue. It's also good at managing memory for you, which is not something that can be said for most languages.
- meaty 14y agoWhen java turned up, we were all still writing c. C++ was still fairly unstable then. Microsoft's compiler was actually probably the best on the market and it was still a hunk of shit to the point that most people just did win32+c. On UNIX it was always C.
- jeremiep 14y agoI'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.