Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

aka "Why duck typing is better than inheritance". Yes, great book, but if you're using a language that doesn't support duck typing, some of the concepts will frustrate you and make you wish you were using Ruby instead.


You can do some (most) of the stuff using interfaces/protocols in languages that support these.


It's not quite as natural, though. On the other hand, making it explicit is often a Good Thing.




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

Search: