• dan@upvote.au
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    8 months ago

    I write it in lowercase but then the auto-formatter we use at work converts it to uppercase when I save the file.

    I love auto formatters. Prettier (the initial version for JS) really popularized the concept. If the coding style is automated where possible (things like tabs vs spaces, tab width, line wrap at 80/100/120 characters, where to put line breaks in long statements, etc), it ensures the entire codebase is consistent, and I can jump between different code bases with different coding styles without having to think too much about it.