Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
voidUpdate
· 6mo ago · 0 comments
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
Comments
[–]
orthoxerox
6mo ago
No, I meant the idea that guard clauses are antipatterns and your subroutine should have a single implicit return.
[–]
voidUpdate
OP
6mo ago
Sorry, I misread. Need more coffee