Hacker News new | comments | show | ask | jobs | submit login
The Predicate Module Pattern (raganwald.com)
7 points by rustc on Sept 12, 2013 | hide | past | web | favorite | 2 comments



Interesting idea be careful of this causing slowdowns: right now every time you `extend` any object the entire method cache gets blown away (https://charlie.bz/blog/things-that-clear-rubys-method-cache). I think this is being worked on but not sure of a target release for the fix.


How is it different from DCI?




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

Search: