[swift-evolution] Proposal: Require functions to have a cyclomatic complexity of <= 10.
devteam.codafi at gmail.com
Sun Jan 31 13:40:18 CST 2016
I agree. It would be awesome to have a code linter that takes this into account though, but I don't see it as a full-fledged sema phase.
2016/01/31 12:34、David Turnbull via swift-evolution <swift-evolution at swift.org> のメッセージ:
> The language doesn't have to evolve to make this part of the code analyzer. I don't need cyclomatic complexity analysis in the language or the regular build process. Better to compile faster.
>> On Sun, Jan 31, 2016 at 8:45 AM, Amir Michail via swift-evolution <swift-evolution at swift.org> wrote:
>> I think that this one metric built into the language would have a huge impact on Swift development and for the better.
>> swift-evolution mailing list
>> swift-evolution at swift.org
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution