Are there any static analysis tools that will report how closely the SOLID principles are followed?
问题 I know blindly following any "best practice" can still lead to a stinking pile of crap that strictly adheres to the best practice. The SOLID principles are just that, principles . They don't apply to every situation but they are still very good heuristics for finding possible improvements in your code. The downside to them is that they sometimes require a deep analysis of your source code to apply them. I, like most programmers, am constantly on the lookout for more efficient ways of doing