LoC Is a Dumb Metric for Functions
What’s the quickest giveaway that someone’s an amateur developer?
When they tell you to break out a function into smaller functions, and the first reason they cite is “it’s over X lines of code.”
Yeah, you heard me.
This article is targeted at people who are so easily intimidated by long functions that they fail to see deeper issues with them.
It’s about people who take a linear function with no repetition or need for reusability, break it out into smaller functions, and think they accomplished ...
Read more at theaxolot.wordpress.com