On Aug 20, 2013, at 10:29 PM, Tudor Girba <tudor@tudorgirba.com> wrote:

Hi,

I am preparing a set of talks that have reflection at the center.

Obviously, I want to use Pharo to demonstrate reflection. I am now looking for examples that can be explained to programmer newbies (actually, managers). I am particularly looking for examples that include adaptation (not just inspection) and that can show that reflection is valuable.

I already have some examples in mind, but they might not appear particularly valuable. For example:
- inspecting a class: Object methods.
- adapting a class: Object compile: 'answer ^ 42'.

Scaffolding patterns (read them)
Increase productivity when brainstorming.

Use DNU to compile on the fly some methods or to copy methods when you are designing a new piece of functionality

Proxy how to implement them nicely



Any suggestions?

Cheers,
Doru


--
www.tudorgirba.com

"Every thing has its own flow"