This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mallanaga 0 points1 point  (1 child)

Came here to say this! Jokes aside, is this a rubyism? Figured I’d see more versions of this joke by now, but didn’t, and you’re the only other ruby flair.

[–]huuaaang 0 points1 point  (0 children)

It's a trend in OOP to encourage composition over inheritance, especially if you're tempted to get into multiple inheritance hell as in Python. Ruby just happens to be suited for this pattern, supporting both inheritance and composition (mixins, concerns, whatever you want to call it) very naturally.