4 ms·
Brian Will, the guy behind the 'why OOP is bad' youtube video brings this into his argument. In a follow up video to that video he rewrites an OO program in pr
by barking 9y ago
Brian Will, the guy behind the 'why OOP is bad' youtube video brings this into his argument.
In a follow up video to that video he rewrites an OO program in procedural style.
In doing so he reduced the number of methods/functions from 321 to 113, 54 of which were contained inside other functions as they were only accessed by the containing function.
The total number of lines of code remained about the same.
That's over 200 fewer meaningful names to try to come up with in a short program. Plus the fact that functions that do bigger tasks are easier to name in the first place, imo.
https://www.youtube.com/watch?v=V6VP-2aIcSc https://www.youtube.com/watch?v=V6VP-2aIcSc