Re:Poll: What are your liked and disliked programming langua...
by jarrett on Thursday October 10, 2013 @01:32PM
(#6528959)
Yeah, that one perplexed me. I don't think anyone can deny Java's usefulness. I guess a lot of the hate is from people who find Java useful but still annoying. For my part, I don't think it's bad at all. When I use Java, I miss conveniences like `people.map { |p| [p.name, p.address] }`. But in exchange for typing more characters, Java gives me a huge ecosystem, good docs, effortless cross-platform coding, and pretty much the only hassle-free GUI API.
[ Parent
| on HN ]
Re:Poll: What are your liked and disliked programming langua...
by cgag on Thursday October 10, 2013 @04:17PM
(#6529781)
Why not use Clojure or another JMV language and get the same ecosystem at similar or less characters?
(map (juxt :name :address) people)
Re:Poll: What are your liked and disliked programming langua...
by jarrett on Friday October 18, 2013 @03:30PM
(#6573508)
Maturity and longevity, mostly. For really serious projects, I prefer to mitigate my risk by picking something that's been mainstream for a long time and isn't likely to die off. I'm not saying Clojure, Scala, JRuby, etc. are going to die off. Just that it's too early to tell.
Also, it's not exactly the same ecosystem. Yes, you can use all the Java libraries. But the ecosystem also includes the dev environment/build system, the written material, and the peopleware associated with the language. You don't automatically import all of these from Java just because you're using the JVM.
Re:Poll: What are your liked and disliked programming langua...
by FrederikNS on Friday October 11, 2013 @06:04AM
(#6532257)
Scala enables you to keep most of the Java ecosystem (API, docs, cross-platform, and swing is even nicer in scala), and you can do `people.map { p => (p.name, p.address) }`, granted that the IDEs have to get a plugin installed before they are as helpful, but both Eclipse and IntelliJ has awesome scala plugins.