Comment on Don't tell me what to do
Snazz@lemmy.world 4 weeks agoThere are only 4.29 billion possible values of an int32, so even if you used 2 lines for each case, it’d still be under 10 billion lines of code
bool isOdd(int num) if (num == 1) { return true } if (num ==2) { return false } …
sentient_loom@sh.itjust.works 4 weeks ago
okay but what about an
int512
?