The link between complexity, cognitive overloading, and velocity. — Typical measures of complexity in code are focused heavily on nesting and logical complexity, which are critically important, but they’re not the only factor we should be considering when we think about complexity and code quality. Consider the two functions below: def payroll(employee_database):
for name, employee in…