• saplyng@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    Lines of separation are bad? I like adding a few empty lines to denote a different logical section so it’s easier for me to read back later :c

    • Feathercrown@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      The idea is that often you could be using actual logical separations (functions etc.) instead of whitespace. IMO whitespace has its place though, including for this.

      • anti-idpol action@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        7 months ago

        uhh seen this shit with some rewrites with no regards to your code being idiomatic to the point of it all feeling almost verbatim. Like some PHP devs getting confused by the lack of classes in Go and instead of using method receivers and composition over inheritance creating one 250-line behemoth public function to replace a PHP class.