Dear Sudarshan,
Thank you for the question. The key skill is being able to quickly shift
perspective between the sending object, each of the receiving objects, and
an overall view of the computation. Practice reading complex code. Make
notes as you read. Draw diagrams of where the messages could be going.
Refactor code to replace conditionals with choosing messages. This will help
you indentify them when you see them.
I have cc'd the Implementation Patterns mailing list. You may want to
subscribe if you are exploring the book further.
Regards,
Kent Beck
Three Rivers Institute
-----Original Message-----
From: sudarshang@... [mailto:sudarshang@...] On Behalf Of
Sudarshan Gaikaiwari
Sent: Monday, February 04, 2008 3:19 PM
To: kent@...
Subject: Implementation Patterns Question
Hi Kent
I would like to thank you for your wonderful book "Implementation Patterns".
On page 66 you mention
"Reading code that uses lots of choosing messages requires skill to learn.
One of the costs of choosing messages ..."
Could you point to some pointers on how this skill can be acquired?
Thanks
Sudarshan
--
Sudarshan Gaikaiwari
www.sudarshan.org
sudarshan@...