• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: detecting primes - bugfix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting primes - bugfix


  • Subject: Re: detecting primes - bugfix
  • From: garbanzito <email@hidden>
  • Date: Fri, 23 Feb 2001 17:47:36 -0700

at 2/23/01, 9:56 AM -0800, they whom i call Doug Korns wrote:
if p is not equal to z then

It takes longer to write, but it improves the readability of the script
(more English-like) and when you share scripts, the transmittability
through the internet is not a problem.

honestly, it's harder for me to read. using symbols helps
me distinguish the wheat (identifiers) from the chaff
(operators). English-like and readable aren't synonymous
for me, because i read the symbol like an ideograph for the
concept. i do tend to be wordy with my identifiers, though,
so my lines might be even longer:

if a_possible_prime != next_divisor then

(used the Frontier version of not equals to avoid list munge.)

steve harley email@hidden


  • Follow-Ups:
    • Re: detecting primes - bugfix
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: detecting primes - bugfix (From: Doug Korns <email@hidden>)

  • Prev by Date: Quicktime with Facespan problems
  • Next by Date: Re: Mount Volume Problem With 9.1
  • Previous by thread: Re: detecting primes - bugfix
  • Next by thread: Re: detecting primes - bugfix
  • Index(es):
    • Date
    • Thread