|
|
|
|
|
by tempguy9999
2621 days ago
|
|
> The whole point of object orientation to put data and behavior together May I politely disagree based on my long-ago experience with dylan, which has multi-methods (<https://en.wikipedia.org/wiki/Multimethods>). This allowed the action on the data (the methods) to be defined separate from the data. I strongly feel that it was OO done right, and it felt right.
You can read about it on the wiki link but it likely won't click until you play with it. I'd like to give an example but it's too long ago and I don't have any to hand, sorry. |
|