News for hackers. Stuff that matters.
Re:Prototypes Are Not Classes by egil on Monday January 20, 2014 @01:53AM (#7087967)
Yet another shallow article describing the difference between prototypes and classes. Does anybody know of more in depth ones that also discusses multi-leven inheritance, polymorphism etc?
Re:Prototypes Are Not Classes by raganwald on Monday January 20, 2014 @09:53AM (#7089759)
polymorphism is actually orthogonal to the ideas around metaobjects like classes. They are both powerful ideas. but can be expressed in different ways. Languages like Common Lisp and Haskell allow you to express polymorphism entirely through overloading of functions, for example.