Photo by Mitchell Luo from Pexels

How to DRY your Python code

Did I ever tell you the definition of insanity ?

Keno Leon
8 min readNov 28, 2021

--

DRY ( Don’t Repeat Yourself ) is generally considered to be a good and important practice for writing good code which I mostly agree with* and while there are tons of folks that will shout at you that your code is not DRY, I have yet to find anybody that tells you how to DRY your code while they are shouting at you, so here we are…

--

--