Re:Parse, Don't Validate (2019)
by jakelazaroff on Tuesday March 07, 2023 @08:43AM
(#35055215)
Yup, this is my exact rationale for preferring this too. Branches are a significant source of complexity and early returns are one way to tame it — have the “meat” of the function deal with as few invariants as possible.
[ Parent
| on HN ]
There are no comments on this comment yet.