Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
languagehacker
on Sept 26, 2011
|
parent
|
context
|
favorite
| on:
One of the Best Bits of Programming Advice I ever ...
Yeah, but good luck trying to reuse the same basic instructions to scan non-paper objects without multiple inheritance.
encoderer
on Sept 26, 2011
|
next
[–]
See: Mixins, Traits, Apects. Whatever your language wants to call them, they're fundamentally the same, and solve the issue you're raising.
epochwolf
on Sept 26, 2011
|
prev
|
next
[–]
Ruby does this with mixin modules :)
ori_b
on Sept 26, 2011
|
prev
[–]
interface ICopyable {...}
SimHacker
on Sept 26, 2011
|
parent
[–]
Back in the days at PARC, that was "IXeroxable".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: