• 3 Posts
  • 150 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle


  • Like with everything, context matters. Sometimes it can indicate poorly structured control flow, other times inefficient loop nesting. But many times it is just somebody’s preference for guard clauses. As long as the intent is clear, there are no efficiency problems, and it is possible to reach the fewest branches necessary, I see no issues.