Does C# (or any other languages) have an official style guide like python has pep8? - eviltoast
  • Kogasa@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    There’s a lot more than indentation and newline policies. The default editorconfig is a few hundred lines. But there’s also no reason not to standardize indentation and newline policies.

      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Feel free to point out a disadvantage. As a .NET dev I appreciate the semblance of consistency. Different codebases differ enough already, it’s just easier on the eyes when everyone is using the same basic conventions.