To keep code elegant and readable, this lesson presents a refactoring technique consisting of two rules: (1) Don't have empty lines in a function, (2) keep the function short, with at most 6 or 8 statements. See how this can help keep each function focused on one responsibility.
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.
What was the editor being used?
All these small functions just add some noise to the code. They are only used in one other function. They make this function more "readable" but the global code get bloated with useless functions. It bug me less in other language where we can tag a function as private or protected.
animateLastPointFromLeadingLine
For me, its too many functions already!