|
|
|
|
|
by SideburnsOfDoom
1915 days ago
|
|
> With SOLID the lack of precision renders the whole exercise rather pointless. If your assumption is that design guidelines can have mathematical precision, then you're going to be perpetually disappointed. > Instead we argue over what constitutes a single responsibility. I'm sorry that you can't reach consensus. but IMHO, the false idea that there is a single, mathematically correct answer (and if people differ, therefor someone must be be Wrong, capital W) is often part of the problem, of what stops an agreement on how to move forward pragmatically being reached. |
|
I don't think that there is a set of design guidelines that can be applied with mathematical precision, but there are a set of code "costs" (like cyclomatic complexity) which can be measured with mathematical precision.
That is to say, all other things being equal, if a pull request non-negligibly reduced cyclomatic complexity I'd be happy to claim that it increased code quality. I don't believe that this idea is false.