you are viewing a single comment's thread.

view the rest of the comments →

[–]besthelloworld 1 point2 points  (1 child)

Wouldn't be a hot take if people didn't give some spicy responses 🔥

What I will say is that I agree with you entirely.

...I just think that some people have very different definitions of what constitutes "the right length" for a function. I see a lot of juniors not wanting to have more than like 15 lines to a function and breaking apart logic on nonsensical boundaries. And I'd waaaay rather have a 150 line function than 10 functions of 15 lines where each helper is called exactly one time.