Tangential topic - a while ago there was a thread/discussion about adopting something like spotless/palantir-java-format for automated formatting.

Whilst a massive change to the code base, which can (potentially) cause horrors for open branches/PRs unless rebased with care and also reformatted - but also quite useful /once/ adopted, as such concerns as the above largely disappear, and any wonky/horrible formatting that comes up is often more a smell that maybe the code should be cleaner, or split up more.

I don't recall any definitive decision being made either way, the topic just seemed to stalemate (at least as far as I saw).

Palantir/spotless does at least require JDK 11+ I believe so that's a big blocker, at least as far as the build JDK goes.

Mark (with 2cents)

On 15/10/23 3:10 pm, Joseph Kesselman wrote:
My experience is that they can actually be useful in expressing things like preferred code formatting style in importable/executable form.

Reply via email to