News for hackers. Stuff that matters.
Re:Ruby, Smalltalk and Class Variables by draegtun on Tuesday December 18, 2012 @04:20AM (#4936702)
Io (http://iolanguage.org/) shares the same differential inheritance has NewtonScript:

  Polygon  := Object clone do( sides := 10 )
  Triangle := Polygon clone
  
  Triangle sides println    # => 10
  Triangle sides := 3
  Triangle sides println    # => 3
  Polygon sides println     # => 10

There are no comments on this comment yet.