Hacker News new | ask | show | jobs
by krupan 3858 days ago
So use a class or a module instead of a struct. We probably could have solved multiple problems by simply allowing modules to be dynamic (like classes are), referance-able (like interfaces and classes are), and to support inheritance (like classes do) and saved ourselves at least three reserved words and the associated complexity and ambiguity of purpose and use.