Cathi talks about Extender Providers

A while back, Cathi Gero and I got into an extended discussion about the Decorator design pattern, and she brought up the .NET Extender Provider implementation, which I frankly admit I hadn’t seen before. Now she’s blogged about it and based on what I read there, I’ve got to admit, it’s a lot more like an aspect than an actual decorator–the ProvideProperty attribute essentially acts as a pointcut, and the extender provider itself as the advice. (The weaver is arguably either VS.NET or the WinForms library, I’m not entirely sure which.)

Which, of course, begs the question–now that JDK 1.5 has annotations, could one do something similar in Java? Yet another little research project to go onto the list….

My head hurts

I used to think I know C++ pretty well, but between the various "red books" that Addison-Wesley’s been sending me, I’m rapidly discovering that:

    I don’t know templates NEARLY as well as I thought,
    There’s a tremendous amount of power in template-based languages,
    C++ isn’t nearly as dead as current programming trends might like to imply,
    The "red book" series is an awesome series to open your mind (as in, "blast it with a firehose" open), and
    I’m REALLY liking the feeling, even if it hurts. 🙂

Highly recommended reading: "Modern C++ Design" and "C++ Template Metaprogramming", along with Herb Sutter’s "Exceptional C++" and "More Exceptional C++".