DEV Community

Discussion on: 10 must-know patterns for writing clean code with Python🐍

Collapse
 
bluemont profile image
Bluemont

Agreed. It’s easily avoided in the article’s example, a one-line function. But flags can help us write DRY code for more complex functions.