• moosetwin@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    6 days ago

    fuck me c# - is this how we compare paths

    hahaha I’ve done this exact thing before, with windows formatting folder paths as x/y/z and file paths as x\y\z.ext, especially since some modules would only accept one format or another

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      5 days ago

      Why don’t they just have a FilePath class with an == operator?
      I’ve never felt so elated for taking up Qt instead of going with the .NET C# route.