Re:Programming Patterns I Like
by quadcore on Saturday June 29, 2019 @03:39AM
(#20311322)
This whole guard/validation thing is a fabrication of the mind. Because early returns do returns something on an invalid input. If anything, those validations should be asserts/exceptions.
[ Parent
| on HN ]
There are no comments on this comment yet.