← Back to context

Comment by orthoxerox

3 hours ago

> ergonomics of not having an early return

I wonder who came up with this idea first. I find obvious early returns incredibly ergonomic.

Wikipedia says that "guard clause" was a term invented by Kent Beck, but that the actual practice was used since at least the early 60s