3 ms·
Agreed with all of that! Especially the poor sap who is reading the code wondering WTF... So — my thinking for those two methods is to purposefully encourage b
by sudara 14y ago
Agreed with all of that! Especially the poor sap who is reading the code wondering WTF...
So — my thinking for those two methods is to purposefully encourage being imprecise. We are always so obsessed with being exact in programming. And typically for good reasons. But in some cases, perhaps it doesn't matter if it's 50% of the time or 20% or 10% of the time. Just sometimes, not all of the time.
That being said, you bring up a fantastic point: what the hell does 'sometimes' mean? Half the time? What does rarely mean? It's certainly going to depend on the individual. No answers here, except I'm leaning towards redefining "sometimes" to mean between 15-50% of the time.