Re:Lazy deserialization
by stcredzero on Monday February 12, 2018 @03:37PM
(#16361850)
nil was the sole instance of the class UndefinedObject, which was a subclass of Object, whose superclass evaluated to nil.
Another paradox: Every instance has a Class. A Class is also an instance of a Class. That object also has a Class, and that instance of a Class also has a Class, and so on. It was turtles all the way down.
Re:Lazy deserialization
by carterschonwald on Monday February 12, 2018 @10:16PM
(#16364460)
hrmmm... sounds like a coinductive description https://en.wikipedia.org/wiki/Coinduction
(i've done a bit of modelling using coinduction, and it has a very funky but precise relationship with immutable object oriented program descriptions)
Could you elaborate on this? Or provide some references? This sounds interesteing but when I tried DDG and Google for "smalltalk undefined paradoxes" the results were not exactly satisfactory.