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

I really like the idea of role based programming / mixins. I think it does not get enough attention.

[1]I know only of some programming languages that even call it roles.

To be honest I always get confused by the difference between interfaces and roles. For me it was always something like an interface/behavior that can be mixed in at runtime.

[1]https://docs.raku.org/language/objects#Roles



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

Search: