A Theory of Software Architecture
Move most of your code to pure functions, that is the number one mantra to solve most scaling problems in software development. Even in an OOP paradigm, it makes sense to make almost all objects as purely functional, with limited use of internal state.The second mantra is to think a thousand times before you name something.
I actually keep a list of names (..Manager, ..aggregator,etc.) gleaned from various sources, to name my classes. Earlier, I used to name most of my classes as ManagerEdit : Here is a question, that actually prompted me to keep a list.https://stackoverflow.com/questions/1866794/naming-classes-h...