[swift-evolution] Proposal: Require functions to have a cyclomatic complexity of <= 10.
Developer
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.
~Robert Widmann
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.
>
> -david
>
>> 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
>> https://lists.swift.org/mailman/listinfo/swift-evolution
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160131/27183b4b/attachment.html>
More information about the swift-evolution
mailing list