• Dr. Moose@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 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
      0
      ·
      17 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.

    • SaharaMaleikuhm@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      They suck hard. I use the renpy engine and there you reference file names directly but always lower case and spaces and hyphens turn to underscores. That can cause issues, so I just do underscores in my file names. Don’t give damn about the web.