Hacker News new | past | comments | ask | show | jobs | submit login

The way the author uses the common implementation reminds me of Ruby mixins. One of the things that takes a bit of getting use to in Ruby is that classes aren't types, and object hierarchy is used to share implementation, rather than enforce type.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: