Implementing Classes in 15 Minutes
By Jonathan Worthington (jnthn)
Date: Saturday, 5 March 2011 16:45
Duration: 15 minutes
Target audience: Intermediate
Language: English
Tags: 6 metamodels nqp objects 蝶
No, not writing a class. Writing an implementation of classes. In 15 minutes. Yes, really. In this short talk, I'll show that meta-object programming doesn't have to be hard, if you have a decent framework to do it with.
I'll start out with a quick introduction to the topic, before digging straight into the code and implementing methods, method dispatch and single inheritance. Finally, I'll talk a little about why we'd ever want to do such meta-programming, outside of writing language implementations.
Attended by: Maciej Czekay (Bruno), Sebastian Stellingwerff (webmind),