Writing Sleek Functions
Your functions must be small, real small. The number of lines a function take should be small enough so that the main concept of the function is understood without having to go too far. Beyond having functions that are small, they should do only one thing and one thing alone. And they…