I was trying to create some progress output for some software I'd just written in perl. I wanted to use a simple framework to accomplish this- the only problem was that it was an impossible task without tightly-coupling the framework into the code. I could use delegates, callbacks, and other techniques, but I'd still have to integrate that functionality into the software I was building. Some would argue that this is a necessary evil- but since this code was part of an evolutionary prototype, I couldn't risk adding more work for later on.
I'd heard about aspect-oriented programming from software-engineering radio. So I found a perl module that provides some functionality. 7 lines of code later I had some progress output.
I don't know if aspect-oriented programming is here to stay, but it certainly sped up the creation of my prototype code.
Wednesday, October 24, 2007
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment