BEST Talk I’ve seen in a king king time and wish I’ve seen it sooner to learn about cognitive complexity which is new to me .
@joakin85352 жыл бұрын
wow
@alute5532 Жыл бұрын
Cycle native complexity is min number to fully test a method Maintainability Different (measure how hard to understand) 0 ignore shorthand structure I. E. E sequence same logic operator +1 But on A & B or C & D hard to understand When operators are switching increment each switch (and or not..) Jump (to label) I.e break ,continue (to label) Recursion 2 ways 1 increment loops 2 in a recursion cycle: fore each method in recursion: add 1 Nesting Add 1 for: Switch Catch Ifs ternary No elseif Else if adds nest level Likewise nested method lambda.a Note add additional 1 for each new nest level