Comment on I wish
KoboldCoterie@pawb.social 8 months agoGod, it’s so obvious, you can do it in only two lines of code.
if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false; else return true;
Comment on I wish
KoboldCoterie@pawb.social 8 months agoGod, it’s so obvious, you can do it in only two lines of code.
if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false; else return true;
Arbiter@lemmy.world 8 months ago
Obviously you couldn’t account for every number with only two lines.
ruckblack@sh.itjust.works 8 months ago
Maybe you couldn’t
scutiger@lemmy.world 8 months ago
Eventually, it would wrap onto a second line, wouldn’t it?
ruckblack@sh.itjust.works 8 months ago
When you run out of space, you just add a monitor to the right side. Honestly, it’s like you guys aren’t real developers.
bouh@lemmy.world 8 months ago
Only if your line is not long enough…