3 ms·
There was a time, early on in my python career, that I tried all the different flavors of magic that python provides. These days, I tend to write code for junio
by nomel 5y ago
There was a time, early on in my python career, that I tried all the different flavors of magic that python provides. These days, I tend to write code for junior developers. I don’t use any magic at all, even when it could make sense.
Once you start playing with magic, you have far fewer eyes and hands that are interested.
- nightski 5y agoIn my opinion it's not about dealing with junior developers or even having the ability to understand it. I've been programming for 25 years and to me it's about cognitive load. I despise tricks like this because they put a much higher strain on the programmer. Software is hard enough, let's not make it harder. If I can look at a piece of code and it's quickly obvious whether it is correct or not is my favorite type of code...