It’s a nonsensical statement to us programmers too.
It’s a nonsensical statement to us programmers too.
Most of the time it’s not exactly useful and some of the positions are awkward (e.g. 8, 9, 10), counting to 31 on one hand is maybe useful.
More useful IMO is counting in base 6 and treating each hand as a single digit. i.e counting to 35 on 2 hands without awkward fingerings. Better than 10, less awkward than binary.
Ricardo was testing in production
I didn’t notice that 7,8,9 had no effect on the count. My bad.
Chars are just numbers, but yeah, an enum would work fine too, sure. The only advantage with using a char for it is that there’s no conversion needed for outputting them into strings so it’s a little easier. Less code, very readable, etc. Though yeah, thinking about it JQKA wouldn’t be numerically in the right order which could cause issues if the program did more than just implement HiLo
Yeah, just use a char for card and test
if(card < '7') count++;
else count--;
Or something, don’t mix types.
The main difference that has me using LibreTube rather than NewPipe is because my subscriptions are on my piped account so they are synced between phone and desktop (browser). Piped is built on top of NewPipe’s extractor library anyway.
Is this not loss?