Category: The Way of Python
-
External VS Internal solution: Reliability

Why are external solutions more reliable than internal ones? Rigorous testing, continuous feedback, and active community support make the difference.
-
FOR vs WHILE: How to choose?

When I started learning computer programming in C in my software engineering school, for loop was forbidden. Using it would result in a -42 grade. Why? To teach me the logic behind for loops. But now that I can choose, when do I use for loops?
-
Do you enumerate?

Simple is better than complex. Zen of Python. You know that, right?Well, we all do, but it’s less consensual when it comes to enumerate(). “What is enumerate()?” In a nutshell, it’s a function that returns something similar to a list of index-value pairs*. It is mostly used in for loops to iterate over a list…
-
Make simple things simpler?

I often encounter juniors during training sessions or when I join a new team. They all have in common a simple, naive way to code. Is that bad in itself? I don’t think so. I prefer the simplicity and efficiency of FastAPI over the convoluted 100% DRY design of DjangoRestFramework. I prefer the naive and…