By Guy Y.
July 9, 2020
In my last post, I wrote about types of WET/DRY code and how they affect the project’s health over time. I mentioned code design as one of the sources of WET code.
In short, DRY code is easier to maintain and reuse.
In this post, I’ll dive a bit deeper into DRY code design. I’ll use NPM and TypeScript examples, even though the concept can be applied to other cases as well.