Re:Scala: sharp and gets things cut
by anonymoushn on Monday October 07, 2013 @03:28PM
(#6510580)
Is this really a worthwhile distinction? Using the first example from the Wikipedia article on duck typing, I have a choice between exploding when given invalid values:
or failing silently when given invalid values, which will often cause some other piece of code to explode, or at the worst cause some misbehavior that is difficult to detect:
or
I would prefer to just not be in the situation of choosing what to do with invalid values in the first place.
[ Parent
| on HN ]
There are no comments on this comment yet.