Next | Higher-Order Perl | 125 |
Upside: You get to do it yourself
Previous slide:
Method inheritance
Automatic accessor method generation (Perl doesn't)
Data inheritance (Perl doesn't have data inheritance)
In only 17 lines of code!
Easy to implement classes if you prefer
Single inheritance easy
Multiple inheritance easy
BFS inheritance easy (Perl has DFS)
Etc.
Next | Copyright © 2006 M. J. Dominus |