I think it's only a matter of time before we have programming languages that hard enforce a standard formatting.
For example, suppose a compiler only accepted formatted code when it's optimising.
miniblog.
Related Posts
A great deep dive on building GitHub's code view, optimising React, scaling to thousands whilst supporting both Ctrl-F and syntax highlighting:
Optimising GHC, implementing assembly pretty-printers, and the tradeoffs of implementing against an interface: https://www.tweag.io/blog/2022-12-22-making-ghc-faster-at-emitting-code/
Interpreters versus compilers as a spectrum, and a fun worked example of optimising Brainfuck:
