Y
Hacker News
new
|
ask
|
show
|
jobs
by
Goopplesoft
3686 days ago
I don't ruby but I'm guessing OP prefers the "include" that DataMapper uses since inheritance 'feels' weird ... a weak point nevertheless.
1 comments
solnic
3686 days ago
`include` is also inheritance, multiple inheritance. I try to avoid inheritance and prefer composition. It is very simple in ruby and very powerful.
link