Epic React Podcast podcast

Techniques For Writing Maintainable Code

0:00
48:45
Rewind 15 seconds
Fast Forward 15 seconds

The only thing that matters in software is the experience of the user. And, even though the user will never see your code, the quality of it actually affects them indirectly.  The reason that the user cares about how you write your code is that it affects how long it takes to get new features out the door. Something that takes three weeks might only take a few days if the code was written in a more maintainable way and optimized for changes.

There are many patterns that we can use to make our code more maintainable, but the key is to know when to use them. If patterns are inappropriately used, it can lead to the code actually becoming harder to make changes to. For example, sometimes it's better to have a small amount of duplication than it is to create a hasty abstraction.

More episodes from "Epic React Podcast"