Mahjong Score Calculator #3 โ€“ On Tackling Cognitive Complexity

Cognitive complexity measures how difficult it is to understand a piece of code. The more conditional statements and nesting loops present, the higher the cognitive complexity is penalised.

12 December, 2024 ยท 4 min ยท Oscar Li