To reveal the hidden elephant – TDD

Thirumanthiram, translated as Holy Incantation, has a famous hymn: மரத்தை மறைத்தது மாமத யானை, மரத்தின் மறைந்தது மாமத யானை.  A partial explanation of the hymn is “For a skilled wood carver,  a log of wood manifests as an elephant. The artisan reveals the hidden elephant, from the piece of wood and entertains the audience to appreciate the […]

CHOW #167 – The coin tender kata

The challenge of this week is a very famous Code Kata called as Coin Tender. This kata assumes very important and have subtle association with the Post.  Hence I suggest you to first attempt to practice this Code Kata before reading the post. Then again return to this Code Kata.  Specification Well, the requirement is, […]

Safe transformation of the design – Part I

The constraints imposed by legacy systems and external systems often turn the situations very interesting to work with. Here is one such interesting situation, where I accepted the behaviour of the legacy system as it is, but devised a layer of facade to alter and offer a varied behaviour. The context We are allowed to […]