Created
December 9, 2013 21:15
-
-
Save lucperkins/7881021 to your computer and use it in GitHub Desktop.
Some Hegel-flavored musings. In #dartlang, of course.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class Being {} | |
abstract class Nothing {} | |
abstract class Becoming extends Being with Nothing {} | |
abstract class Nature extends Becoming {} | |
abstract class Lack extends Nature {} | |
abstract class LivingThing extends Lack {} | |
class Person extends LivingThing { | |
String name; | |
Person(this.name); | |
} | |
void main() { | |
Person luc = new Person('Luc'); | |
print(luc is Nothing); \\ true | |
print(luc is Being); \\ true | |
} |
Oh, nothing in particular! I just like weaving programming and logic/ontology together once in a while :)
Now play with mixins :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm confused about what this was supposed to illustrate!