Code Peer Review - Arrow Code Anti pattern

Опубликовано: 27 Сентябрь 2024
на канале: EngineeringForSuccess
354
4

Arrow Code is a well known anti-pattern that makes code harder to review and analyze because it increases the cyclomatic complexity of the code. However, it is easy to prevent and in this video I will show you how to flatten a small arrow code function by changing conditional statements from positive to negative