Use immutable data structures, and always be able to access previous versions.
“Data dominates. If you’ve chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.” – Rob Pike
“The secret to building large apps is never build large apps. Break your applications into small pieces. Then, assemble those testable, bite-sized pieces into your big application.” –
Justin Meyer
“A good architecture allows major decisions to be deferred!” – Robert Cecil Martin
“Cease dependence on inspection to achieve quality. Eliminate the need for massive inspection by building quality into the product in the first place.” – W. Edwards Deming