News for hackers. Stuff that matters.
Re:Everything that's wrong with Java in a single class by jeremiep on Thursday September 20, 2012 @05:47PM (#4550925)
Thats a gross comparison of languages.

Java, C++ and whatnot are imperative languages, of course the syntax is gonna be different to declarative languages such as Haskell or Lisp. They're also only alien at first; once you get used to a declarative syntax you never want to write imperative code again. It would be like going back to monochrome after experiencing color monitors.

We have some programmers at work who can't think outside the C++/Java/C# box. They also tend to be the worst programmers even after decades of experience.

Re:Everything that's wrong with Java in a single class by virmundi on Thursday September 20, 2012 @10:48PM (#4551968)
Perhaps this isn't quiet HN quality of a comment, but I'd love to go to a grey scale screen. I've been trying to figure out how to do that for years. Never could. The simplicity of it would be wonderful.

In the same way, Java is noisy, I admit that, but it's fast, powerful and fairly easy to understand when executed correctly. I'm not saying you can do the same thing in other languages, but it's a good language for systems, especially middle-ware/server side development. It's horrible for Web Page development since JSPs suck and custom tags never caught on in most development shops (they're used because the framework provided them, but even when .tag files came out few used them to encapsulate screen behavior). But Web Development has moved on to JS on the client and REST on the back, so again Java is pretty good too.

Re:Everything that's wrong with Java in a single class by jeremiep on Friday September 21, 2012 @08:19AM (#4553424)
I tried server-side development in Java, didn't like it at all. I'd pick Haskell or Erlang over it in a heartbeat.

You can't easily build fault-tolerant distributed systems using only classes without concepts such as function purity and data immutability. Java's type system also happens to be neither sound nor correct; casts are everywhere and NullPointerExceptions can fly around. You're constantly working against the language to write safe distributed code. If Java was safe as a language, it wouldn't require so much debugging time. Haskell was an eye opener for this.

For systems programming I now use exclusively C and D. In the end, Java is only a viable option when you don't know any better. Most Javaland programmers I know of also happen to be blub programmers. They don't know unix, regex, functional style, don't write tests and the list goes on. They do, however, know Agile and UML.

Maybe that's what I don't like about Java. It's culture killed technical knowledge and replaced it with bureaucratic management.

Re:Everything that's wrong with Java in a single class by jebblue on Friday September 21, 2012 @01:01AM (#4552389)
JSTL might have been ahead of its time.