Get the latest tech news

Software Design Principles I Learned the Hard Way


If there’s two sources of truth, one is probably wrong. And yes, please repeat yourself.

I’m also guilty of spending way too much time trying to make things reusable, when a bit of code duplication works perfectly fine. In the optimization game, it’s super popular to instantly throw caching and store everything in a database immediately. It lets you develop faster because you don’t have to worry about sync bugs, conflicting data, and stale state.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of hard way

hard way

Related news:

News photo

Startups learn the hard way that relying on OpenAI’s tech can burn them