Programming

Refactoring Test Code: Removing Constructor Dependency Members Public

In the earlier post, Removing Unnecessary Dependencies, we saw how having an unnecessary dependency hinders testability. In this post we will see how the test code changed by the refactoring we did for removing the unnecessary dependency and explore ways to control these changes. Impact on Tests by the Refactoring

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Refactoring to Improve Testability: Removing Unnecessary Dependencies Members Public

Nowadays I am trying to stick to TDD (with the test first approach) and have found it to be of great help. One of the biggest reward doing TDD is that it helps me to stay in the flow and regain speed faster after a distraction. This post explains how

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Being Explicit About Time when Handling Multiple Timezone Members Public

This article is to put my thoughts together on a possible solution. Challenges of real world implementation are yet to be discovered. Handling date/time in application's that affect different time zones is tricky! The general recommendation is that all dates be saved in UTC time and convert

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

Developer Learnings from the IKEA Experience Members Public

When we moved over to Sydney, last year, we had to start over with all the home furnishings. Since we were just starting out, didn't want to spent a lot on furnishings, so decided to go with IKEA for its cost effectiveness and value for money. IKEA is

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

Thinking Beyond Primitive Values: Value Objects Members Public

When modelling objects for our application, we use primitive values to represent their attributes or properties. By primitive values, I refer to all the primitive types (like Byte, Boolean, Int, Date) and the in-built types (String etc.) that the language supports. These are the most basic types of the programming

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

Optimizing Octopress Workflow for New Posts Members Public

Over the past month I had thought of migrating this blog to Hugo, a static site generator that is faster than the current one, Octopress. Lack of workflow for creating new posts and slower build times were the main reasons. I am the kind of person when writing post want

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

Language Agnostic Books For Every Developer 2 Members Public

Exactly a year back I had written about the same topic, and over the time I have picked up a few more books, that I am sharing here. Like the earlier post I will let the books do the talking. xUnit Test Patterns : Refactoring Test Code Growing Object-Oriented Software, Guided

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Books

Learning TypeScript: Setting up the Environment Members Public

A short post on setting up the environment for starting with TypeScript, so as to see generated JavaScript real-time.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming