Why Mobile Phones are Annoying TeXML: Cameron is this you?
Apr 12

Implementing the Null Object Pattern using AOP

AOP, Tech Add comments

I enjoyed the article Implementing the Null Object Pattern using AOP, by Dale Asberry.

It is another example of how you can take something that is “annoying” in your development, and having an elegant solution with AOP.

NullPointerException’s are such a pain. Whenever you get a NPE in your app as a developer you sit back and *sigh*. “Time for the debugger”, and you know that it could be awhile.

With a simple aspect, and the right pointcuts, we get real information about the ugly NPEs.

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What are the first four letters in the word British?