Seeing as it's marked as Not Safe For Work, I assume you're referring to which fingers you'd prefer to lose in a workplace accident due to not wearing proper gloves. In that case, I'd prefer to keep my index finger so I still have a grip with finesse.
post
replies:
For what?
This could be controversial, but...
if (target > (index + middle + ring)) { use(fist); }
else if (target < (middle + ring)) { use(middle); }
else if (target < (index + middle + ring)) { use(middle + ring); }
else { use(index + middle + ring); }
Of course, this doesn't cover error handling, such as rejection.
replies:
permalink
fedilink
source
parent
hideshow 1 child comment
The two else ifs should be switched, because if the second one is true, the first one is also always true, so you'll never reach the second one.
❤️ 1
all 12 comments