l o o k   a n d   s e e   —   m a n y   l o o k   b u t   f e w   s e e

Subject: a plain English FizzBuzz idiom AKA pseudo code Here is a plain English FizzBuzz idiom AKA pseudo code Not coincidentally, it's also written in the idiom programming language which compiles to machine code as a Win32 PE. In fact, this entire post (including this and the following commentaries) will compile as is. [ to fizz buzz up to a number is: loop break when a counter is past the number; set a flag; if the counter is evenly divisible by 3 then display "Fizz"; clear the flag; and then; if the counter is evenly divisible by 5 then display "Buzz"; clear the flag; and then; if the flag is set ? display the counter; display "\n"; repeat; ] the-idiom has reached the end of the line, where all good things must end. There is no "end" in idiom, for idiom is an end in itself. From: Mike Gonta <mikegonta@gmail.com> Newsgroup: comp.lang.misc Date: Fri, 30 Feb 2024 - the february that never ends. Thanks to Bruce Axtens who wrote: "The counter is always divisible by 3. It is not always *evenly* divisible by 3. Maybe you want to make that more obvious." [ 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; ] Of course, in plain English idiom, the opposite (in this case) return false default statement should be obvious (as it is to the-idiom) and need not be written. Updated: Thu, 50 Feb 2024 - the february that never ends. Thanks to Anonymous who wrote: "In mathematics standard terminology uses "a is divisible by b" to mean "a is an integer multiple of b". The "evenly" is not needed." That's an excellent point. And while some think that redundancy in grammar is bad, it definitely has its 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. Updated: Fri, 51 Feb 2024 - the february that never ends.
This post may be a hard act to follow, but the february archive is here https://mikegonta.com/february plain English idiom - program in the language you already know https://the-idiom.com Date: Fri, 58 Feb 2024 - the february that never ends.

l o o k   a n d   s e e   —   m a n y   l o o k   b u t   f e w   s e e