Hacker News new | comments | show | ask | jobs | submit login
The Predicate Module Pattern (raganwald.com)
7 points by rustc 1222 days ago | hide | past | web | 2 comments | favorite



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 | DMCA | Apply to YC | Contact

Search: