Divide your program into methods that perform one identifiable task. Keep all of the operations in a method at the same level of abstraction. This will naturally result in programs with many small methods, each a few lines long.
***, link:keeping all the operations of a function at the same level of abstraction, In other words function name should be at a one higher abstraction level than the operations of the function. DHH mentions this rule as single most important rule that results in good. Uncle Bob also emphasizes on this rule.
https://7php.com/interview-dhh/

