you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 weeks ago

I agree with 200 functions being bad, but breaking them up into private functions won't help you with unit testing, unless you do the other sin of testing private functions. Sometimes you end up with large functions, but when you do it might be a good time to consider creating a new class to spread the responsibilities a bit.

  • source
  • parent