Remembering GIT commands

GIT is one of the most popular SCM tools being used these days, and even though there are lot of UI interfaces to it (Source tree, GIT extensions etc), It really helps to know about the beautiful command line behind those actions. The challenge is how to remember them all when you need it right?, … Continue reading Remembering GIT commands

Duck Typing in python

Quite simply put, Duck typing gives a programmer the ability to not worry about the type of a class rather perform the required operations. Let's take a simple code example as below: If we execute this code: QuackedLouder QuackTraceback (most recent call last): File "/Users/gaurav/personal/development/grasp-python/base/advanced/", line 33, in <module> MakeItQuack(Eagle()) File "/Users/gaurav/personal/development/grasp-python/base/advanced/", line 29, … Continue reading Duck Typing in python