On Tue, Feb 10, 2009 at 7:34 AM, Tony Nelson wrote:
>
> Where exactly does AOP come in?

Oh man, I'm sorry bro, I was just being insane.  I knew I should have
put emoticons in there. :-)

I was poking fun at how much work (or, not work, but how hackish?
Kludge-ish?) doing other stuff was.

In "reality", if you're using config objects, you should really be
using your own, so if you need to move your code to another framework,
all your CS beans and whatnot will still work, without having to do
hokey "alias" type stuff or whatever.  Probably good for unit testing,
etc., too.

AOP would be like so much code for no gain at all.  You could write
the actual object in less lines than it would take to...

Heh.  AOP.  Hmmm...  You could do the "method add" I posted during the
init, neh?  Wonder how advice would work with a dynamically added
function (method? I guess I should pick one :]).  If you can even do
stuff with init (I'm not sure I've ever tried).  That could get silly.
 Probably can't do it.

Or you could do something funny like override the getConfigSetting to
accept another parameter.

Damn.  If I wasn't thinking about other stuff, I'd actually
experiment. /me scratches 'is chin

Posting an AOP example would be funny, but it's not worth the laughs.
Sufficed to say, I was just being silly.

[insert a few hundred lines of code here]

Man, I'm getting lazy.

-- 
Klingon function calls have no parameters. They have arguments! And
they always win them.
http://www.klingon.org/resources/klingon_code.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to