|
|
Darren New <dne### [at] sanrrcom> wrote:
> > And I'm perfectly sure it's for the better. I know of no better tool yet to
> > manage software complexity.
>
> Metaprogramming trumps OO hands down. :-)
I'd consider that a quite orthogonal programming techniqe: The output can be
smalltalk just as well as it can be assembler code. (Strictly speaking, *all*
programming these days constitutes metaprogramming: Only very few modern
computers provide interfaces to enter machine programs manually ;))
Likewise, metaprogramming can be used to implement OOP paradigms in a language
that does not support them natively. Actually, that's how C++ started: The first
C++ compilers generated C code.
But yes, metaprogramming does raise OO to the best of its potential: Reflection
rules! :)
Post a reply to this message
|
|