Re:Anti-If: The missing patterns (2016)
by acdha on Wednesday June 27, 2018 @12:28PM
(#17409481)
I think it’s a judgement call: I like clearly indicating when there’s always a single output path but wouldn’t use the single return style in that cache example if it involved an extra lookup operation for a value which is already known.
[ Parent
| on HN ]
There are no comments on this comment yet.