• 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: AppleScript and shell scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript and shell scripting


  • Subject: Re: AppleScript and shell scripting
  • From: Philip Aker <email@hidden>
  • Date: Thu, 26 Jul 2007 07:30:02 -0700

On 2007-07-26, at 06:11:24, has wrote:

…what's important is using the right problem-solving technique for the job, which for textual pattern matching is regular expressions. Ed's problem was that he's letting his fear/dislike of implementation X (Unix shell) blind him to the benefits of using technique Y (regular expressions) despite them being completely orthogonal (i.e. execution vs concept).

I learned regexp the easy way: the old BBEdit Lite tutorial. I don't know if it's still around but for anyone interested, there's a resource listing at: <http://grep.extracts.de/>


Personally, I think that anyone who's using AppleScript as their sole language on a regular basis should make a point of learning at least one other language (e.g. Python, Ruby, bash, Smalltalk) as soon as they can get over their initial syntaxophobia. The first step to becoming a competent scripter in *any* language - AppleScript included - is to learn how much you *don't* know. Exposing yourself to other tools and practices outside your current comfort zone will really help to open your eyes here, and even if you decide not to continue using that language, the knowledge and experience you've gained will help to make you a better AppleScripter.

Which, extended, kinda relates to my previous thoughts:

To my way of thinking, this emergent scripting language globish ("scriptish"), is the most functionality expressed in the most succinct but logically extensible format. It's nature won't be determined by language purists but rather arise from the common usage of polyglots.


Cheers,

Philip Aker
email@hidden


_______________________________________________ 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: AppleScript and shell scripting
      • From: Bill Briggs <email@hidden>
References: 
 >Re: AppleScript and shell scripting (From: has <email@hidden>)
 >Re: AppleScript and shell scripting (From: Philip Aker <email@hidden>)
 >Re: AppleScript and shell scripting (From: has <email@hidden>)

  • Prev by Date: Re: Index list from the Finder - with Size
  • Next by Date: Re: AppleScript and shell scripting
  • Previous by thread: Re: AppleScript and shell scripting
  • Next by thread: Re: AppleScript and shell scripting
  • Index(es):
    • Date
    • Thread