Re:Anti-If: The missing patterns (2016)
by meheleventyone on Wednesday June 27, 2018 @07:24AM
(#17407300)
Depending on language if you have first class functions you could also do:
Or for parameterized functions:
Then all that logging policy stuff can live with the logging and doesn't need to be checked explicitly throughout the codebase.
[ Parent
| on HN ]
There are no comments on this comment yet.