• bitcrafter
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      The mistake was that they created a type that behaves like an array in every case except for bool, for which they created a special magical version that behaves just subtly different enough that it can break things in confusing ways.

        • timhh
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          The biggest problem is that each element doesn’t have a unique memory address; iterators aren’t just pointers.