So I’m working on a personal project and like always I’m struggling with my urge to over-architect the whole project. It’s taken me two weeks to pick a database and stick to it: disk backed Redis then MongoDB then finally PostgreSQL. My discipline is very lacking.
I was ready to write code the moment the idea was in my head but for some reason I just keep seeking tools and libraries for the future that will work perfectly. The problem with that is I’m trying to predict the future needs of my application and that’s a Very Bad Thing. I need to find the simplest thing that works and code that.
My natural instinct when I see a horrible mess of code is to figure out the original intention then rewrite and refactor. Other peoples' code is an easy target for...