Decorators

  1. Function assignment
  2. Function inside other function
  3. Decorator
  4. Use cases for decorators in Python
  5. A recursive Fibonacci
  6. trace fibo
  7. tron decorator
  8. Decorate with direct call
  9. Decorate with parameter
  10. Decorator accepting parameter
  11. Decorate function with any signature
  12. Decorate function with any signature - implementation
  13. Exercise: Logger decorator
  14. Exercise: memoize decorator
  15. Solution: Logger decorator
  16. Solution: Logger decorator (testing)
  17. Solution memoize decorator