3 ms·
And then often that comment means that you can extract the code it describe into a separate function of the same name, e.g. price_sum(products).
by dsego 8y ago
And then often that comment means that you can extract the code it describe into a separate function of the same name, e.g. price_sum(products).
- aequitas 8y agoThat is the choice you often make later on. But might not always be obvious at that time, otherwise leading to overoptimizing everything in functions.