• pnutzh4x0r@lemmy.ndlug.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    Path objects also override the / operator to join paths

    This is both cool and gross… gives me C++ vibes (operator overloading abuse).

    • Diplomjodler@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      They could have chosen a better operator. But the functionality is fantastic. Makes working with paths so much easier. And you can even use slashes on windows paths.