Ask HN: Would you start new project in Java?
11–19 of 19 posts
Re: Ask HN: Would you start new project in Java?
#12Re: Ask HN: Would you start new project in Java?
#13Re: Ask HN: Would you start new project in Java?
#14However, Java runs on more devices than anything else right? It's still a major player and I can't imagine it going away anytime soon.
Re: Ask HN: Would you start new project in Java?
#15* Spring Boot for web services and application. Absolutely amazing and easy to use, my favorite feature is easy integration with external authentication services. Yet there is no longer much Scala support around for Scala and the Spring framework. Clojure may be a bit better in this case as Clojure collections implement the Java collections interfaces unlike Scala. Another issue is heavy use of reflection by frameworks like Spring which tends to work poorly with Scala.
* Android applications. Dalvik is a register based and not a stack based VM; scalac produces code optimized for OpenJDK which may run inefficiently on Dalvik.
That said in these cases you have the option of using Kotlin. While it does not differ terribly from Java, it supports pattern matching (which I don’t believe is supported by Java, but I may wrong as I haven’t used versions higher than 8 extensively.)
Re: Ask HN: Would you start new project in Java?
#16Re: Ask HN: Would you start new project in Java?
#17It depends on what you're trying to do. Front-end Java (applets/webstart) is dead. But on the server, or even some embedded devices, Java is working fine. I'd like to ask 'why not' - Java is supported, fast enough for lots of applications and a great ecosystem of third party libraries.
Re: Ask HN: Would you start new project in Java?
#18It's hard to sell them new features/projects when their devs cannot decypher the language you used. (Eg. scala) You can't really put a finger on what you gain from using a new language apart from it's harder to find someone to work with it an he will ask for more money.
Yeah there is the programmer centric "progressive tech stuff are FUN" view but business usually don't care...
Re: Ask HN: Would you start new project in Java?
#19It depends on what you're trying to do. Front-end Java (applets/webstart) is dead. But on the server, or even some embedded devices, Java is working fine. I'd like to ask 'why not' - Java is supported, fast enough for lots of applications and a great ecosystem of third party libraries.
JSF is a front end framework for Java and is in good health AFAIK
Oracle seems to keep peddling JSF for stuff like internal business apps, but I've not seen any development around the framework itself in recent years. It's been a while since I've seen a public site built with JSF too.