• gylotip
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    14
    ·
    2 years ago

    The URL thing used to be

    https://lemmy.ml/c/lemmy/data_type/Comment/sort/New/Page/1
    

    But now it’s

    https://lemmy.ml/c/lemmy?dataType=Comment&page=1&sort=New
    

    The URL feels uglier.

    • Hedup@lemm.ee
      link
      fedilink
      English
      arrow-up
      37
      arrow-down
      1
      ·
      2 years ago

      What? The first one looks so wrong, no website does it like that.

    • Die4Ever@programming.dev
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 years 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
        3
        ·
        2 years 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.