• BombOmOm@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    3
    ·
    edit-2
    4 months ago

    Same. There is a logic to all code choices. Even basic things like the placement of empty lines to group code into ‘idea blocks’ massively helps with readability. This idea block touches x, and this next idea block touches y.

    A tool can’t perform perform even basic logic like that.

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      4 months ago

      If you have a lot of semantic breakpoints (like the end of a concept) that don’t line up with syntactic breakpoints (like the end of a method or expression body) your code probably needs to be refactored. If you don’t, then automatic code formatting is probably all you need.