3 ms·
I'd be very surprised if the service they've announced is a linter. The announcement says it can even analyze parts your code that are more computationally exp
by dickjocke 7y ago
I'd be very surprised if the service they've announced is a linter.
The announcement says it can even analyze parts your code that are more computationally expensive than they need to be. I'm not sure I understand the skepticism--surely they have among the largest code repositories in the world. Why couldn't they train models on it to look at best practices and even compare code practices to different metrics.
- ShamelessC 7y agoIsn't this just calculating the cyclomatic complexity?
- ralmeida 7y agoNo - OP meant computationally expensive, not cognitively expensive. Two nested for-loops can be O(nˆ2) but can have a cyclomatic complexity as low as 1.