MHN
Add a comment on Hacker News →
3 of 131 comments
  1. It’s nice they tried with a more fleshed out exemplar. Polymorphism (“generics”) and interfaces (“OOP”) would have been even better to see, especially across any kind of visibility boundary enforced by the language (packages, and the like.)

    Programming to an abstract interface — and in large codebases, enforced visibility controls — represent the middle ground everyone wants, in my experience, between “OOP” and “sir, this is C”.

    1. > Polymorphism (“generics”) and interfaces (“OOP”) would have been even better to see

      Yep. Interface-based (true) delegation between objects would be my go-to if it existed.

  2. polluted the namespace. rust was perfectly named.