• 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: uneditable [OT]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uneditable [OT]


  • Subject: Re: uneditable [OT]
  • From: Barry Wainwright <email@hidden>
  • Date: Tue, 07 May 2013 07:52:57 +0100

And therein lies the problem. To someone only educated to school grade math, maybe equality and assignment *are* the same. To people (programmers?) educated a little beyond that point, there is a world of difference between the two.

The first computer language I am aware of to use the equality operator for an assignment was BASIC - way back in the 70s. Early implementations of BASIC *required* the use of the keyword LET - as in 'LET X=10' to disambiguate between an assignment and an equality test. Later iterations of that language allowed the LET keyword to be optional.

Now BASIC may have been many things and it was the first introduction to programming for many people, but a paragon of good practice it never was, and it's worst practices should never be held up as such.



--
Barry Wainwright


On 7 May 2013, at 04:07, Alex Zavatone <email@hidden> wrote:

> I don't know what problems you have with understanding the complexities of x = 1, but I value my time, and I don't want to waste it being needlessly verbose, when the shorter form is just as easily understandable to anyone who has taken and passed grade school math.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: uneditable [OT]
      • From: "John C. Welch" <email@hidden>
    • Re: uneditable [OT]
      • From: Bill Guion <email@hidden>
References: 
 >Re: uneditable [OT] (From: "John C. Welch" <email@hidden>)
 >Re: uneditable [OT] (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: uneditable [OT]
  • Next by Date: Re: uneditable
  • Previous by thread: Re: uneditable [OT]
  • Next by thread: Re: uneditable [OT]
  • Index(es):
    • Date
    • Thread