• 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: Toxic Soup and Enough for all
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toxic Soup and Enough for all


  • Subject: Re: Toxic Soup and Enough for all
  • From: Doug McNutt <email@hidden>
  • Date: Tue, 18 Mar 2008 09:43:39 -0600

At 23:38 -0700 3/17/08, Philip Aker wrote:
>Hold on a sec Ed, we'll be using sea-shell scripting for most tasks.

bash and AppleScript have one thing in common that continues to frustrate me.

They use the space character as a fundamental part of the programming syntax rather than saving it for use as a delimiter.

In AppleScript it's all over the place and unless you're a real linguist you make mistakes because you don't remember all of the possible single variables or commands that require an internal space. Do_shell_script won't work but I have considered a preprocessor that would make such more-readable spelling functional.

In bash I simply cannot remember to put a space after a left square bracket that was once a call to an external tool, a link to test, that required it.  I also simply cannot remember NOT to include spaces before and after equals signs. Kernighan and Ritchie deliberately encourage it and clean FORTRAN code typically included spaces unless they wouldn't fit in 72 columns.

find *
replace -c ƒ /n/ "r"
# forever.
--

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
 _______________________________________________
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

References: 
 >Re: Toxic Soup and Enough for all (From: "Stockly, Ed" <email@hidden>)
 >Re: Toxic Soup and Enough for all (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Toxic Soup and Enough for all
  • Next by Date: Re: OOP - Factory Scripts
  • Previous by thread: Re: Toxic Soup and Enough for all
  • Next by thread: Re: Toxic Soup and Enough for all
  • Index(es):
    • Date
    • Thread