• aberrate_junior_beatnik
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years 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
      0
      ·
      edit-2
      2 years 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).