TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Java for New Projects?

18 pointsby devgothover 1 year ago
Is anyone using Java for new projects? I&#x27;ve seen a lot of job postings &#x2F; new companies being started with Python, Go, TypeScript, and the like.<p>Outside of companies already firmly planted with Java in their ecosystem I don&#x27;t really see people being excited to start new projects using Java (or even a JVM-based language).<p>What is everyone&#x27;s thoughts here? Am I perhaps in a vacuum?<p>Note: I really enjoy the developer experience using Java and enjoy exploring other JVM-based languages like Clojure, Kotlin, etc.

16 comments

PaulHouleover 1 year ago
Personally I like Java a lot. I like Python for rapid prototyping and particularly code where numpy and scikit-learn can do the hard work. PyPi helps w&#x2F; branchy semantic web workloads but for things like that (say something like <a href="https:&#x2F;&#x2F;github.com&#x2F;srdc&#x2F;ontmalizer">https:&#x2F;&#x2F;github.com&#x2F;srdc&#x2F;ontmalizer</a> that really works which I&#x27;ve had on the agenda for the last year) I&#x27;d pick Java.<p>I’ve worked for numerous companies including startups that used Java or JVM languages like Scala.
评论 #39081355 未加载
mindcrimeover 1 year ago
If you&#x27;re looking at startups and the typical SV &#x2F; YC crowd, maybe not. Looking more broadly, 100% yes, Java is being used for new projects. At my $DAYJOB employer new projects get launched using Java all the time. Not interested in saying who that is, but we&#x27;re a Fortune 100 public company (not a &quot;tech company&quot; though).
billfruitover 1 year ago
Decades of work by lot of smart people has gone into the JVM, so there is still benefits to be had in using it.
sandreasover 1 year ago
Java is still ok. A lot of people use it. It&#x27;s a good ecosystem and well hung technology, the tooling is very good.<p>However, I think Java is not very popular because of Oracle and the licensing. There is no good reason to avoid it technology-wise but it has kind of a bad smell.<p>Another reason could be that more and more modern languages are trying to prevent using a VM and are designed as or transition into a compiled language offering &quot;best&quot; performance by having native binaries without too many dependencies.<p>The last reason I can think of is productiveness &#x2F; complexity and elegance. Java just does not feel very elegant or easy to learn with its enterprise background. Too many products &#x2F; libraries &#x2F; technologies for beginners. Because of it&#x27;s strictly object oriented design you have to write much code to achieve the same thing you can do in a few lines or even one line in other languages (even when you are using modern Java features). Kotlin comes in handy here, but still feels a bit clunky from time to time.<p>I would still use it, if it is the right tool for the job... or even if I didn&#x27;t have skills in another language and wanted to get things done. Still it may be a good idea to check out other languages to learn something new. Python is good for AI stuff, Go was very productive. TypeScript is... well a &quot;better&quot; JavaScript with interesting concepts. Currently I&#x27;m learning Dart &#x2F; Flutter, because C# failed hard while building my first little audio player app :-)
评论 #39067931 未加载
rlawsonover 1 year ago
Python and esp Django are great for rapid prototypes but larger projects I find the performance and structure of Java easier for a large team. Maybe things get a lot better in the future as type hints get more widely used with Python?<p>My company does Python for ETL&#x2F;data but Java for everything else
splixover 1 year ago
How do you measure that? Do you include only companies with _no_ experience in a particular language before starting a new project using that language? Companies usually continues the language they have an experience with.<p>Except some areas where you don&#x27;t have much flexibility. Like for AI you chose Python even if you have no experience. Or for a website, you don&#x27;t have much choices and have to use TS&#x2F;JS even if you don&#x27;t like them.
ldjkfkdsjnvover 1 year ago
I launched a startup with Java&#x2F;Spring Boot on the backend. Tons of developers already know this stack, no headaches, everything works. ChatGPT is also an expert in mainstream Java technologies. Using a bleeding edge framework like the newest next.js has major gaps in ChatGPT
评论 #39059411 未加载
takkatakkaover 1 year ago
I’m using Java in a new-ish project of mine. It’s not glamorous, but there is a library for everything which is nice. I also have the most experience with it (Clojure coming second), so that lets me focus on building rather than learning a new tool.
cdaringeover 1 year ago
Here’s my pitch: <a href="https:&#x2F;&#x2F;cdaringe.github.io&#x2F;programming-language-selector&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cdaringe.github.io&#x2F;programming-language-selector&#x2F;</a>
评论 #39205988 未加载
评论 #39081325 未加载
aristofunover 1 year ago
These days you gain very little (performance, devX, complexity etc.), but pay too much (overengineering mentality, &quot;best&quot; practices and traditions, tons of legacy etc.) in comparison to other tools.
giaourover 1 year ago
If you include Android apps in the category of &quot;new projects,&quot; then new projects using Java and Kotlin are being launched all the time, including by companies that were not previously using Java.
评论 #39090390 未加载
jryan49over 1 year ago
Yup, it&#x27;s boring and works :)
shooover 1 year ago
lots of java being used at mature banks &amp; successful fintechs
pg_1234over 1 year ago
It&#x27;s still way better than Go.
lulznewsover 1 year ago
Code is code bro. Just use what you like.
评论 #39095724 未加载
exabrialover 1 year ago
yes, absolutely