[Pharo-dev] reflection examples

Tudor Girba tudor at tudorgirba.com
Tue Aug 20 16:29:39 EDT 2013


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'.

Any suggestions?



"Every thing has its own flow"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20130820/231ba184/attachment-0002.html>

More information about the Pharo-dev mailing list