• Die4Ever@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    maybe uglier but the 2nd way means the order doesn’t matter, it’s a bit more lenient for manually editing

    • andrew@lemmy.stuart.fun
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I mean, you can parse a URL path and query string however the heck you want. You can make the former order independent, but it’s probably better supported in libraries as the latter and definitely more common and obvious for users.