I was adding SQLite support to Pongo when I realised that I'm talking to myself, and what I heard was insane. I was trying to understand and recap what I just built, an extremely clever and sneaky solution to handle multiple databases. I realised I was wrong, and that sneaky code will soon bite me back. Why?
Cool story. It reminded me of my quite recent take on abstracting away the repeatable code in my pet project. The code for persisting the state got so generic that a payment to an account resulted in changing the account type :D
It's definitely a good habit to always think about the trade-offs.
Accurate points Oskar!
Thanks for sharing.
Cool story. It reminded me of my quite recent take on abstracting away the repeatable code in my pet project. The code for persisting the state got so generic that a payment to an account resulted in changing the account type :D
It's definitely a good habit to always think about the trade-offs.