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

Yeah, but good luck trying to reuse the same basic instructions to scan non-paper objects without multiple inheritance.


See: Mixins, Traits, Apects. Whatever your language wants to call them, they're fundamentally the same, and solve the issue you're raising.


Ruby does this with mixin modules :)


     interface ICopyable {...}


Back in the days at PARC, that was "IXeroxable".




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

Search: