Is it always a good idea to split long methods into smaller ones? An experiment.
Have you heard an opinion that it’s always a good idea to split a long method into smaller ones? Some people disagree. In my new post I conduct a refactoring experiment, with the goal of breaking up a hard-to-split method and STILL getting better readability. If this example can be improved by splitting, does that mean it’s always better?
Post a comment