• 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: Trouble with dock preferences of System Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with dock preferences of System Events


  • Subject: Re: Trouble with dock preferences of System Events
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 29 Oct 2009 12:34:48 -0700

On Oct 29, 2009, at 11:36 AM, Felix Peregrino wrote:

I've been curious since I bought my first Mac in '88, will somebody tell me what the term "foo" represents?

It's a meaningless variable name.

Here is Wikipedia's explanation:

The terms foobar, foo, bar, are common placeholder names (also referred to as metasyntactic variables) used in computer programming or computer-related documentation. They are commonly used to represent unknown values, typically when describing a scenario where the purpose of the unknown values is understood, but their precise values are arbitrary and unimportant. The terms can be used to represent any part of a complicated system or idea, including the data, variables, functions, and commands. The words themselves have no meaning in this usage, and are merely logical representations, much like the letters x and y are used in algebra. Foobar is often used alone; foo and bar are usually used in that order, when multiple entities are needed.

It is used extensively in computer programming examples (sometimes expressed as "for once only") and pseudocode. Eric S. Raymond has called it an "important hackerism" alongside kludge and cruft.[1]

-- Michelle

-- 
If you ever get the urge to run naked in public, drink some Windex.  It will keep you from streaking.


 _______________________________________________
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: Trouble with dock preferences of System Events
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Trouble with dock preferences of System Events (From: Steven Audette <email@hidden>)
 >Re: Trouble with dock preferences of System Events (From: Felix Peregrino <email@hidden>)

  • Prev by Date: Re: Unzip multiple items Applescript-terminal syntax help!
  • Next by Date: Re: Trouble with dock preferences of System Events
  • Previous by thread: Re: Trouble with dock preferences of System Events
  • Next by thread: Re: Trouble with dock preferences of System Events
  • Index(es):
    • Date
    • Thread