Here you go, Spring at its finest: http://www.bonkersworld.net/wp-content/uploads/2010/10/2010.08.11_Yak_Shaving.png
<http://www.bonkersworld.net/wp-content/uploads/2010/10/2010.08.11_Yak_Shaving.png> On 8 December 2010 11:06, Casper Bang <[email protected]> wrote: > Also, as soon as you do any kind of lazy-loading plugin infrastructure > or proxying, you're going to need reflection. Seems a little silly to > forbid stuff just because it can be abused... everything can be > abused. > > On Dec 8, 11:50 am, Alan Kent <[email protected]> wrote: > > My most common use of reflection in real production code is doing things > > like reading a config file into an annotated POJO. I like this because > > of its type safety - can use reflection to determine the type of a > > field, extract it from a config file (using the appropriate validation > > rules for that type), and there is no risk of things being out of sync. > > Adding a new config file option is just a matter of adding a new field > > to a class. Annotations are quite nice here to specify any additional > > validation rules to apply (e.g. an integer in the range 1 to 10). > > > > So I like reflection in this case because it localizes dynamic typing to > > a small area in the code - everything else can be statically typed. > > > > Alan > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- Kevin Wright mail / gtalk / msn : [email protected] pulse / skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups "The Java Posse" 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/javaposse?hl=en.
