Re:Please do not attempt to simplify this code
by beefeater on Thursday December 27, 2018 @07:18PM
(#18773859)
If you need to make sure every condition is handled, write a test for every condition.
[ Parent
| on HN ]
Re:Please do not attempt to simplify this code
by lmm on Friday December 28, 2018 @05:12AM
(#18775953)
Why? That's both more work and more error-prone than just using a language that will ensure it.