|
|
|
|
|
by blinks
5159 days ago
|
|
> Prototypes are simply more complicated than classes. [citation needed] I'd argue the opposite: "Prototypes are simply more _intuitive_ than classes." OO-design says that X is-a Y is-a Z, with inheritance providing the main form of structure. Prototypical-design says that X is-like-a Y, but with these differences. This NPC (specific, X) is like any other NPC (general, perhaps the original NPC prototype), but with the name Fred and this custom AI code. They're different ways of thinking, but prototypes are certainly not more complicated than classes in the general case. ---- As for the syntax, though, I totally agree with you. |
|