Is excessive early-return a code smell? Team split on guard clause patterns.
Code review debate on our team. One dev writes functions with 6-8 guard clauses at the top (early returns for null checks, preconditions, etc.). Functions end up being 40 lines but only 10 are 'real logic.' I find it harder to follow the actual flow. Others say it's cleaner than nested ifs. Looking for objective criteria — when does guard clause usage become detrimental to readability?