• Zarobi@aussie.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    My favourite part is when your style or the auto formatter changes over time and you have to decide between:

    • running the auto formatter on 200,000 12 year old code files
    • doing them one by one
    • formatting them when you have to change that file
    • or ignoring all the warnings forever (it’s this one, this is what you do)

    Plus it doesn’t fix the problem of auto formatters writing ugly code. You can’t easily tell the auto formatter that early returns can be bracketless for brevity, but nothing else can be. Unless you add a comment like \\ ignore-rule-2753674 which makes me want to throw up