Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Goopplesoft
· 10y ago · 0 comments
I don't ruby but I'm guessing OP prefers the "include" that DataMapper uses since inheritance 'feels' weird ... a weak point nevertheless.
Comments
[–]
solnic
10y ago
`include` is also inheritance, multiple inheritance. I try to avoid inheritance and prefer composition. It is very simple in ruby and very powerful.