3 ms·
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
by stcredzero 9y ago
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.
- carterschonwald 9y agohrmmm... sounds like a coinductive description https://en.wikipedia.org/wiki/Coinduction 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)