Y
Hacker News
new
|
ask
|
show
|
jobs
by
voidUpdate
21 days ago
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
1 comments
orthoxerox
21 days ago
No, I meant the idea that guard clauses are antipatterns and your subroutine should have a single implicit return.
link
voidUpdate
21 days ago
Sorry, I misread. Need more coffee
link