this post was submitted on 22 Aug 2023
1304 points (99.4% liked)

Memes

45587 readers
1264 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 

spoilerFor people that don't know this is not how you use Calipers

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 1 year ago (1 children)

It's slightly different because all numbers divisible by 21 are also divisible by 7, so you would get all Fizz and FizzBuzz but no Buzz. So the question is, should you even be checking for Buzz, or should you make your code more efficient by eliminating those lines?

[โ€“] [email protected] 1 points 1 year ago

I think they meant 3/7/21 instead of the standard 3/5/15.