November 2024
Intermediate to advanced
620 pages
13h 46m
English
”It’s not the daily increase but daily decrease. Hack away at the unessential.”
—Bruce Lee
The second part of the above quote, “hack away at the unessential,” is to us what makes a computer program elegant. We constantly strive to find better ways of doing things so that we do not waste time or memory.
There are valid reasons for not pushing our code up to the maximum limit. For example, sometimes we have to sacrifice readability or maintainability to achieve a negligible improvement. It does not make sense to have a web page served in 1 second with unreadable, complicated code when we could serve it in 1.05 seconds with readable, clean code.
On the other hand, sometimes it is perfectly reasonable to try to ...
Read now
Unlock full access