1
torbuntu
25d

What is your preferred coding style? Such as those imposed by Checkstyle.

Comments
  • 1
    It doesn’t have a name. Basically whatever Xcode has as the default, plus some minor adjustments.
    No single letter names, consistent formatting, comments only when really needed.
    Those are some good examples.

    I hate overly opinionated styles, especially when they enforce completely retarded rules.
  • 3
    Some check style rules are meaningless and was invented just for the invention purposes. Checkstyle, PMD, spotbugs are decent enough

    In the end, any style checker/enforcer should encourage and guide the devs towards

    1. Easy code readability
    2. Future maintainability
    3. Avoiding code smells
    4. Refactoring Complex code which don't adhere to SOLID principles
    5. Common mistakes or bugs occuring in that programming language or framework or lib
  • 1
    I do not really care about those. Of course I've picked many up from professional career but by this point, I'm not forcing myself and don't use linters. Waste of time. Spoils the fun.
  • 1
    The joke about assholes and opinions, but applied to linters.

    There, an abstract and efficient way to tell a joke.
Add Comment