• Dr. Moose@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      14 days ago

      Hyphens > underscores for filenames because all web standards prefer hyphens so if you ever want to network your files its a much smoother experience!

      • livingcoder@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        14 days ago

        This is what I need, an explicit reason that makes one choice better than another. If hyphens make for a smoother experience, then I’ll reconsider my default behavior.

        Thanks for pointing out this benefit.

    • BassTurd@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      I prefer lowercase with hyphens, but I’m transitioning into a team that does everything camelCase, which is the second best case, but I still strongly dislike it.