• Re: a plain English "FizzBuZZ" idiom

    From Bruce Axtens@21:1/5 to Mike Gonta on Thu Mar 21 09:26:07 2024
    On 2/03/2024 4:06 am, Mike Gonta wrote:
    if the counter is divisible by 3 then

    The counter is always divisible by 3. It is not always *evenly*
    divisible by 3. Maybe you want to make that more obvious.

    -Bruce

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Rentsch@21:1/5 to Bruce Axtens on Fri Mar 22 06:05:54 2024
    Bruce Axtens <[email protected]> writes:

    On 2/03/2024 4:06 am, Mike Gonta wrote:

    if the counter is divisible by 3 then

    The counter is always divisible by 3. It is not always *evenly*
    divisible by 3.

    In mathematics standard terminology uses "a is divisible by b"
    to mean "a is an integer multiple of b". The "evenly" is not
    needed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Rentsch@21:1/5 to Mike Gonta on Sat Mar 23 10:54:42 2024
    Mike Gonta <[email protected]> writes:

    On 2024-03-22 9:05 a.m., Tim Rentsch wrote:

    Bruce Axtens <[email protected]> writes:

    On 2/03/2024 4:06 am, Mike Gonta wrote:

    if the counter is divisible by 3 then

    The counter is always divisible by 3. It is not always *evenly*
    divisible by 3.

    In mathematics standard terminology uses "a is divisible by b"
    to mean "a is an integer multiple of b". The "evenly" is not
    needed.

    Thanks Tim, that's an excellent point.
    And while some think that redundancy in grammar is bad, it definitely
    has it's uses. [...]

    I feel obliged to point out that the word here is "its", not "it's".
    The word "it's" is a contraction for "it is". "It" is a personal
    pronoun, and the possessive forms of personal pronouns are always
    spelled without apostrophes, as for example "he" and "his". The
    word "it" follows this rule.

    If you feel a need to add some redundancy, I suggest

    if the counter is divisible by 3 (meant in the mathematical
    sense of being an integer multiple of 3)

    In answer to your other question, thank you for asking. My
    preference is not to be attributed in your website pages.
    The more impersonal form "It was pointed out that ..." conveys
    the most important information, and focuses readers' attention
    on that information without distracting them with extraneous
    information about who did the pointing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Bruce Axtens on Fri Mar 29 07:27:14 2024
    On Thu, 21 Mar 2024 09:26:07 +0800, Bruce Axtens wrote:

    The counter is always divisible by 3.

    Not if you require the result to be in the integers.

    If the OP had said “integer” rather than “number”, that would have helped.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)