Blog

Code re-usability levels

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.

Continue reading “Code re-usability levels”

WET code and project rot

By Guy Y.

April 17, 2020

Every code base requires maintenance over time. Requirements are altered, bugs are found, features are added, and optimizations are required… It never ends.

When a change is needed, it’s much easier to handle when all the required knowledge is in a single place. This is why DRY (Do not repeat yourself) is a fundamental rule we wish to follow.

Continue reading “WET code and project rot”