• verstra@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I strongly believe that code formatting does not hold any information and that because of it, compilers should reject non-normalized code, saying “run a formatter first”. We have the tooling for most of the languages to make this absolutely painless, remove all head scratching of “what the hell is up with this code style” and just focus of the semantics. I believe that you should be allowed to produce code abominations like this code sample and have it auto-formatted into the code style that everyone can easily interpret.