Inheritance is great 1- the simplest, purest for thereof is prototype inheritance; but if your language only offers classes, this happens at the metalevel only. 2- classes are fine; but if your language only offers typeclasses, this happens at the metalevel only, with no state.
-
-
That said, it would work even better with multistage programming, so that all the dispatching is done at compile-time, yielding better code than incremental programming deniers would write by hand. With constraint-solving multistage programming, you can do OI / AOP right.
-
Beginner question: How can you achieve incremental refinement with constraint-solving and multistage programming?
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!