Read the second time, the first time in the online eating English version, out of the Chinese version of the purchase of a copy. Remember something that you feel is valuable.
Chapter One
The way to measure a design is to look at its flexibility in dealing with change.
In theory, decoupling means that you only need to understand a small amount of code when you scale, but abstraction adds to the difficulty of understanding the code.
If you're just trying to verify your game ideas, it's a waste of time to design the architecture well.
The development of the balance of factors: long-term development speed, short-term development speed, game execution speed.
A good architecture improves productivity in the long run, but maintaining it means that every change requires more effort to keep the code clean; The fastest code implementations are rarely run fastest; optimization requires engineering time, but highly optimized code is rigid, inflexible, and difficult to change.
Keep it simple, the code will be less, and the simple code will not take less time, but a distillation of the code.
"Game Programming Mode" (1)