mardi 25 mai 2021

Are inner functions a bad practice in python? [closed]

According to the SRP principle, a function shouldn't do more than one action in one's code. In contrast, we have python inner functions, where you can define one function inside another. Can it be interpreted as a bad practice?

Aucun commentaire:

Enregistrer un commentaire