I mean, that’s a reasonable rule of thumb, but there are definitely limits. It seems that they chose to follow the rule regardless of practicality. Helper functions are nice and good. Almost as good as recursion. Recursive helper functions are nicer and gooder
I mean, that’s a reasonable rule of thumb, but there are definitely limits. It seems that they chose to follow the rule regardless of practicality. Helper functions are nice and good. Almost as good as recursion. Recursive helper functions are nicer and gooder
Yeah, there are some examples out of “clean code” that are absolutely ludicrous on the “tons of tiny functions” end.
I’d also say letting map/filter and other common operations show is entirely fine.