Earlier quoted context omitted.
It’s still missing null safety, right? Which means it’s still a hard no for me.
I have a couple 50k+ loc java projects written entirely by LLMs at this point that have never thrown an NPE.
Java 27
111–120 of 424 posts
Re: Java 27
#112Earlier quoted context omitted.
Can I trust code I’ve written myself with no guarantees from the language? Maybe. Can I trust code written by dozens of other developers (and/or agents) working on the same project over multiple years? Definitely not.
Why don't you have any coding standards? If you're working with agents in particular, catching and enforcing this stuff should be easier than ever.
Re: Java 27
#113Re: Java 27
#114Re: Java 27
#115Serious question: when should one use Java for greenfield projects in 2026?
When you are already familiar with it or work in a Java shop, there are better options if you are starting from scratch, but if you already have 50 guys that know Java it's a pretty big ask for all of them to switch.
Re: Java 27
#116Re: Java 27
#117Serious question: when should one use Java for greenfield projects in 2026?
Same question for .net or C# Why should anyone use it over Java? Ms is hostile towards its developers, it creates new versions of things, deprecates previous versions, uses confusing naming for newer versions.. etc.
Microsoft is a business and will always put their business objectives first. In my opinion, they have a non-zero amount of evilness. I do not support them jamming Copilot into every available crevice. I still think they make dumb choices, like every imperfect organization. However, C# is a powerful and intuitive language, and for Microsoft shops that already run a lot of Windows and SQL Server it makes a lot of sense.
No shade to the JVM. I've mostly enjoyed my time in that space. I do believe the choice between Java and Kotlin, the wide variety of vendor JDK distributions and IDE fragmentation make the JVM stack a bit more difficult for newcomers to break into.
Re: Java 27
#118Earlier quoted context omitted.
Do you never use external libraries?
With agents, we're getting there.
Re: Java 27
#119C# dev here: it’s amazing how different this is from a Microsoft release. First off, Oracle are doing versions at approximately twice the cadence. But also, and I’m guessing this is a function of the much larger Java audience: things rarely get two preview versions in a proper release. Updates in beta versions, yes, all the time. It also feels like Microsoft are bundling a lot more into the platform and leaving less…
Re: Java 27
#120Earlier quoted context omitted.
Why don't you have any coding standards? If you're working with agents in particular, catching and enforcing this stuff should be easier than ever.
Most engineers do not have the ability to impose rules by fiat on all of their coworkers. It seems like you're misunderstanding the nature of working on a codebase as an IC when other developers contribute to it. If all of my coworkers don't want a lint rule I propose, I don't get to add it. If all of my other coworkers want to write code in a certain way and approve each other's MRs with code written in that way, I…