Introduction to decorators in Python
Saturday, March 26, 2016
Saturday, March 26, 2016
Introduction Understanding decorators in Python is one of the most trickiest thing and creating one is one of the most craftiest thing in Python. It requires understanding of few functional programming concepts, how functions work, namespace/scope/lifetime of data items and most importantly closure. What is a decorator ? A decorator is a design pattern which allows us to...