Post

I might give this new #java code formatter a try!

Java formatters: can't live with them, can't live without them. New post on Foojay by Alex Abashev about the tricky balance between automated formatting and personal coding style. foojay.io/today/my-lov... #Java #CodeFormatting #DevLife

There's also Prince of Spaces that is interesting and similar in intent and output. However these new formatters are pretty young. The challenge is having maintenance.

The Open Java formatter mentioned in the article seems to say it's agent friendly. Might be it?

0 reposts0 likes

I wouldn't go that way, otherwise what's even the point of having sources. Pushing to the extreme the tokenization embedding could work directly on binaries and LLM would work the same way ; I'd rather not. I think formatter should do their job for humans, and agents can still use AST aware tooling

Agents can reason about sources much better. I tried to have Claude code in assembly to make sense of the "everything in Rust" argument and it does not normally go well. Claude approaches like a human, so the same benefits hold. Byte Buddy's source is organized grep friendly. Helped me a lot.