Join 📚 Kevin's Highlights
A batch of the best highlights from what Kevin's read, weekly.
Python [decorators](https://realpython.com/primer-on-python-decorators/) are another popular and convenient use case for inner functions, especially for closures.
**Decorators** are higher-order functions that take a callable (function, method, class) as an argument and return another callable.
Python Inner Functions: What Are They Good For?
Real Python
🌟 Introducing the top 5 Python testing tools that every developer should have in their toolkit 🌟
1️⃣ Pytest:
A powerful and easy-to-use testing framework.
Say goodbye to test classes
and hello to simple test functions! 👋
2️⃣ Unittest:
The classic.
It's built-in, it's reliable, and it's been around for ages.
A true Python staple. 🐍
3️⃣ Mock:
Isolate and rule the world! 🌍
Replace parts of your system under testing with mock objects
and focus on what really matters.
4️⃣ Tox:
Test your code in various Python environments.
Ensure compatibility and make your code versatile! 🌐
5️⃣ Hypothesis:
Property-based testing made easy.
Generate test cases automatically
and put your code through its paces. 🏃
Sarah Floris, MS’ Post
Sarah Floris, MS
"You asked the impossible of a machine,"
said Salo,
"and the machine complied."
The Sirens of Titan
Kurt Vonnegut
...catch up on these, and many more highlights