Re: a plain English "FizzBuZZ" idiom

Liste des GroupesRevenir à cl misc 
Sujet : Re: a plain English "FizzBuZZ" idiom
De : mikegonta (at) *nospam* gmail.com (Mike Gonta)
Groupes : comp.lang.misc
Date : 22. Mar 2024, 17:56:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <utk9no$2q558$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 2024-03-22 9:05 a.m., Tim Rentsch wrote:
Bruce Axtens <snetxa@hotmail.com> 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. Since plain English idiom is more grammar than math, the-idiom can be very forgiving.
[
to decide if a number is divisible by another number is:
to decide if a number is evenly divisible by another number is:
   divide the number by the other number returning a quotient number and a remainder number;
   return true if the remainder is null;
]
Now you can have your cake and eat it too.
There is no "end" in idiom, for idiom is an end in itself.
--
Mike Gonta
look and see - many look but few see
https://mikegonta.com

Date Sujet#  Auteur
21 Mar 24 * Re: a plain English "FizzBuZZ" idiom6Bruce Axtens
21 Mar 24 +- Re: a plain English "FizzBuZZ" idiom1Mike Gonta
22 Mar 24 +* Re: a plain English "FizzBuZZ" idiom3Tim Rentsch
22 Mar 24 i`* Re: a plain English "FizzBuZZ" idiom2Mike Gonta
23 Mar 24 i `- Re: a plain English "FizzBuZZ" idiom1Tim Rentsch
29 Mar 24 `- Re: a plain English "FizzBuZZ" idiom1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal