• anton
    link
    fedilink
    arrow-up
    5
    ·
    15 days ago

    I’m happy the new ranges got stabilized. It feels weird to use old stuff when you know there is something in the pipeline to replace it.

    • TehPers@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      15 days ago

      I’m worried about this creating a bunch of confusion in the future, but hopefully at some point they mark the old ranges as deprecated.

      Ranges directly being iterators confused me so much at first because no other standard iterable types really work that way, then combined with them being !Copy they just felt wrong. The new ranges look so much easier to use and understand.