Hacker News new | ask | show | jobs
by sfvisser 1620 days ago
Abstraction is inherently not about deduplication, it is about capturing intent and meaning. About the universality of certain concepts within your code base. Either based on your problem domain or in the context of your application architecture.

Once you abstract only to shorten your code you’ll likely regret it quickly.