May 2025
Intermediate to advanced
411 pages
6h 36m
English
The best modules are those that provide powerful functionality, yet have simple interfaces.
—John Ousterhout
The second piece of common wisdom when it comes to methods is that they should be short. In this chapter, we will go over advantages and disadvantages of short methods and why larger methods have their place, and we’ll talk about when you should split a larger method into shorter ones.
Are easier to test in isolation
Are easier to ...
Read now
Unlock full access