December 2013
Intermediate to advanced
232 pages
5h 22m
English
Chapter 3
Performance
Michael A. Jackson famously coined the first and second rules of program optimization:
This can be interpreted in a number of ways. To me, it really means “keep your code clean and don’t worry about optimizing its flow.” Avoid making the code too complicated. It also points to the fact that as computers and JIT compilers get more advanced, you probably won’t have to worry about it in six months, as the hardware will have overtaken any minimal optimizations that you can apply.
What it doesn’t mean is to do nothing if your mobile app takes 10 or more seconds to load an activity and is a terrible user experience. Remember that whatever you thought was ...
Read now
Unlock full access