I presume that you know what the memoization is. And if not then you can read about it on wikipedia. I’d like to write about problems that I ran into while implementing memoization in Python.
Function in a function, scope, decorators
When I started using decorators I was confused how it works. I was using decorators like @staticmethod and @classmethod and I didn’t care how it is done. It works. But what about custom decorators? (more…)
Comments Off on Function in a function, scope, decorators