Functions: To Split or Not to Split(blog.jonstodle.com)
blog.jonstodle.com
Functions: To Split or Not to Split
https://blog.jonstodle.com/to-split-or-not-to-split/
2 comments
Nice post - thanks. I'm guilty of sometimes splitting and other times not, making the choice mostly on feel. Never modifying local state when splitting functions is an easy rule of thumb to follow.
I personally prefer style C with occasional comments serving as guidelines for the reader.