• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reflection in Action

 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings authors,

The book sounds fascinating. Do you discuss when and to what extent reflective solutions are appropriate; do you provide caveats on the use (or abuse) of reflection?

thanks,
Jeff
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff,
In that thread, Nate, Jeanne, Ali and I have been discussing about whether to or not to use in which situation...

You might wanna have a look at that and shoot some of your opinions on it... Nate gave us great explanation on the trade-off between reflection version and static version of the classes...

Hope this helps....
 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!
 
Nate Forman
author
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff,

The thread Ko Ko refers to has a discussion of the performance tradeoffs of using reflection. Chapter 9 of the book is dedicated to discussing performance and addressing concerns.

The rest of the book contains discussions of other issues such as common pitfalls and design guidance. I've definitely both used and abused reflection in my programming. We tried to capture a good dose of patterns and antipatterns in the book.

Best Regards,

Nate
 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent. Thanks for the reply. It sounds like it should be a fun read.

-Jeff-
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!