Hacker News new | ask | show | jobs
by tennien 2990 days ago
Classical inheritance is rarely "an appropriate choice" but prototypal inheritance is appropriate "any time you need inheritance"? Classical inheritance is syntactic sugar for prototypal inheritance.