2026-09-28 18:19 UTC
With Error Prone, NullAway, and Spotless, you can get a JVM project quite far to what you'd have in Go with its fantastic linter and formatter ecosystem.
Obviously it'd be better if all that would ship with the JDK, but the tooling is mature and works well, and that's all that counts in the end.
Error Prone being a compiler plugin means you pay the linting price on every build though. Most other ecosystems separate compilation from linting, which ofc makes builds faster but also linting entirely optional and easy to forget. Torn on what approach I like better.
Replies (1)
-
@elmuerte@idlethumbs.social 2026-09-29 06:05
@nscur0@infosec.exchange It would be nice if ErrorProne wasn't tied to internals of javac. So it doesn't work with ECJ. If it did I would have that linting while I typed.