Configurability and complexity go hand in hand
Thanks to Thomas J McCabe for proving this concept
I have to say, over time things do get streamlines when layers upon layers of abstraction are added
But while developing a product, or automation framework, the more configurable we try to make it, the more complex it becomes
For that reason, Thomas McCabe came up with this algorithm to calculate complexity
Embedded / IoT devices standards dictate to keep the McCabe cyclomatic complexity (Code complexity) below 30
It’s not a bad idea to calculate your code’s complexity level and stick to a limit
Makes life a lot easier down the road.
#QsDaily #Automation #CodeComplexity
Leave A Comment