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