Photo by Mitchell Luo from Pexels

How to DRY your Python code

Did I ever tell you the definition of insanity ?

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…

--

--

--

AI, Software Developer, Designer : www.k3no.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Updates on Tagion and the Rest of the World — an interview with Tagion CEO, Theis Simonsen

How to optimize your daily work during #WorkFromHome

Launching Sol.Net v0.1

Stacked Rainbow Cards with Animation in HTML and CSS

Getting Started with Google Colab Notebooks

Traditional CMS vs. Headless: Typical Project Journey

Agile Masterclass: Scrum for Product Owner and Scrum Master

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Keno Leon

Keno Leon

AI, Software Developer, Designer : www.k3no.com

More from Medium

Introduction to Python classes and its features

Supercharging Python Classes with Magic Methods

An Introduction to Python Iterators for Beginners

Python Exceptions: A Complete Tutorial