Why would you use an LLM to format your code?
That had me bogling too. But you know what? A local MoE model roughly equivalent to sonnet mid-2025? Totally possible. Just costs electricity to run, put it in your CI/CD pipeline. Have it apply a bit of intelligence to the thing as well. Uh.... if you've got a spare box, why not?
(the fact that said spare box would cost an arm and a leg in 2026 is... a minor detail)
Right. The equivalent in handwritten code would be formatting your code by hand. That used to be the normal way to do it!
For handwritten code, the evolution of best practices has tended to be:
- just make your code look neat and tidy;
- follow the style and conventions of existing code;
- follow a strict formatting style guide;
- format automatically using a tool.
I don’t see why it should be any different with LLMs. Why format with an LLM each time, when you can use the LLM once to write the formatter?
Maybe there’s a point at which neural nets replace conventional programming languages for low-level tasks. But I’m skeptical that natural language models will replace programming languages for low-level tasks any time soon.