79600266

Date: 2025-04-30 11:55:08
Score: 2
Natty:
Report link

Having hit this problem (three levels deep), I reviewed the answers here, and my logic, and found:

I'm looping to determine if a user has an active place of employment. That's meaningfully a function with a bool result. Being a dedicated proponent of multiple exit points from functions, that's what I did. It also reduces the line count in the calling function, so I consider the issue settled properly.

Thanks, Michael!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: HenrikRClausen