In our daliy work when a project grows into a relative scale, very often we want to add additional features on an existing function. We can modify the function directly of course, however this violates Open-closed principle. Decorator is an effective solution to address such challenge--the name is pretty straightword to understand, when you decorator … Continue reading Decorator in Python