DRY Your WET Typescript Code

Follow the “Don’t repeat yourself” (DRY) principle

Marius Bongarts
8 min readAug 9, 2021

--

Photo by Tolga Ulkan on Unsplash

In my opinion, every developer who calls himself a professional should be aware of the DRY principle and stick to it. In this article, I’ll guide you through all the elements of the DRY principle by applying them to an easy Typescript example.

--

--

Marius Bongarts

Passionate about building exceptional products | Quality > Growth ❤️ Sharing my journey of growing a Chrome Extension to >100K users 💡 3x Medium Top Writer ⭐️