Featured image of post Parameterized Decorators

Parameterized Decorators

Class-based parameterized decorators look better than function-based ones because they reduce the number of nested function layers.

Featured image of post Generator Expressions

Generator Expressions

Sometimes creating a list in Python can be harmful, and it's better to use Generator Expressions.