Personal tools
You are here: Home Archive 2007 December 07 Dagens citat (Larry Wall) om objektorientering
Document Actions

Dagens citat (Larry Wall) om objektorientering

Here's another dimension that can open up to allow both approaches. Some of you may be familiar with classless languages like Self or JavaScript. Instead of classes, objects just clone from their ancestors or delegate to other objects. For many kinds of modeling, it's actually closer to the way the real world works. Real organisms just copy their DNA when they reproduce. They don't have some DNA of their own, and an @ISA array telling you which parent objects contain the rest of their DNA.


Läs mer: perl.com: Programming is Hard, Let's Go Scripting...
Posted by jorgen on 2007-12-07 20:19

This site conforms to the following standards: