Re:Please do not attempt to simplify this code
by jnbiche on Thursday December 27, 2018 @07:01PM
(#18773772)
Code terseness and case analysis (handling all cases) are totally orthogonal: OCaml is pretty terse and yet the compiler is great at letting you know if you forgot to handle some case.
[ Parent
| on HN ]
Re:Please do not attempt to simplify this code
by shados on Thursday December 27, 2018 @10:27PM
(#18774691)
"In case X, do Y". You can make that pretty terse with clever pattern matching, in term of amount of keystrokes typed, but someone will always come in and feel they can save even more keystrokes by not handling all of the cases.