• aberrate_junior_beatnik
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    If this is the worst you can come up with, 100% worth the price, would recommend ad-hoc polymorphism 10 times out of 10.

    • armchair_progamer@programming.devOPM
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Plus the issue remains if the author replaced Vec with Vec of Vec instead of Option of Vec, or if iter().count() meant something completely different than “count # of iterated elements” (both pointed out in HN comments).