4 ms·
The only valid counterargument to this is testability. You can't unittest a code block that's somewhere deep inside another function. At least not in today's la
by ahaferburg 8y ago
The only valid counterargument to this is testability. You can't unittest a code block that's somewhere deep inside another function. At least not in today's languages. If you don't care about testability, a 5k LoC main() is fine.