The Cost of Premature Abstraction

This Dot Media
4 min readMar 20, 2019

Confused about or frustrated by premature abstraction? Want to know how to avoid it? In this article, we’ll walk through what premature abstraction is, how to recognize it, and how to evade it before it causes problems in your code.

For those of you not familiar with premature abstraction, this term refers to adding abstractions to your code before it’s actually necessary, and before you fully understand the problem space and all the possible variations.

It’s easy to provide the definition of “premature abstraction.” It’s much harder to truly…

This Dot Media

This Dot - A new resource for all things #JavaScript brought to you by @ladyleet @benlesh @_jayphelps. Consulting @thisdotlabs. Email: hi@thisdot.co