Archive for the 'Agile' Category

Stubbing out ServiceLocator for unit testing

Wednesday, June 30th, 2010

There are certainly many ways to stub out dependency, using constructor injection, etc etc. Here is one way to quickly stub out ServiceLocator rather than implementing ServiceLocatorStub. Lets say you have code that uses a helper and the dependency is not quite the responsibility of that object but its the sub object that uses it. [...]

  • Share/Bookmark

Be like Sylar my friend (A developer’s perspective)

Monday, August 3rd, 2009

So there is this character (antagonist) in this TV series “Heroes”, and his name is Sylar People might also know him from the new Star Trek movie, where he plays the young Spock. Anyways, back to the Sylar character, in the show he plays a serial killer who kills people with ability (e.g flying, shooting [...]

  • Share/Bookmark