This weekend is the Hindu festival Deepavali.
Archive for October, 2006
InvocationTargetException
10.17
Today while working on some Junit’s I came across this exception.
The java compiler checks that exceptions thrown by methods called are caught or thrown by the calling method. Because the compiler cannot analyze methods call through reflection, the reflection runtime wraps any errors thrown in the called routines in a predictable exception.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/InvocationTargetException.html
No fluff Just Stuff
10.16
http://www.nofluffjuststuff.com/
Might be attending this conference next month. I am intersted in learning more about Ruby & Spring web flow.
Refactoring
10.06
I am reading a book on “Refactoring” by Martin Fowler. It is a good book for every developer to have in their tech shelf. I have used many of the refactoring patterns previously however, now I have a name of the pattern to associate it with. For example
Extract method
Pull up class
Extract Class
While u work u sometimes don’t tend to associate it with patterns. However when you read about them you realize that you have used those so many times.
Ruby
10.02
I am in the process of trying out ruby. It seems more like python to me at a first glace. However as per the http://www.ruby-lang.org website & its author it is 2 parts perl 1 part python & 1 part smaltalk.
I guess I need to spend more time with it to figure it out.