You might want to masquerade as someone young and inexperienced. Here is how to do it in your Java Code.
Reflection dazzles, and newbies will use it where simple interfaces and delegate objects would suffice.
Sometimes an old-fashioned if or switch statement is easier to understand and maintain than a complicated nest of inherited classes. A newbie is intoxicated with the power of oo and wants to use it everywhere.
The more advanced newbie might discover the facade design pattern, and go overboard thinking that every class should implement every method with a wrapper.
![]() |
![]() |
|
Canadian Mind Products | You can get an updated copy of this page from http://mindprod.com/newbie.html |