• 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: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity]


  • Subject: Re: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity]
  • From: Dave <email@hidden>
  • Date: Sat, 04 Jun 2016 16:55:11 +0100

Much later I figured out that it wasn't based on OO at all, but relational queries, and suddenly everything fit perfectly, application scripting features and behaviors all made absolute sense, and I was a better application scripter and educator than ever. Which worked wonders when I started teaching app scripting to the great unwashed mass of Real Programmers, cos suddenly they understood and loved app scripting too (still hated AppleScript, of course, but by then I'd written appscript so they were rocking in Python). Amazing - and depressing - that after 20-odd years the AS team continues to obfuscate and lie about how this stuff works, especially to other programmers. You'd think they'd have realized by now that the way they've been doing it doesn't work and is totally counterproductive, and try a different tack (like the way I did it and already proved does work). But eh.

I only really realised this when I looked at the Scripting Bridge, if you understand Cocoa and Objective-C it kind of spells it out for you - all those “cooked” NSArray Objects.

Cheers
Dave

 _______________________________________________
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: 
 >Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity] (From: has <email@hidden>)
 >Re: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity] (From: Dave <email@hidden>)

  • Prev by Date: Re: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity]
  • Next by Date: Re: About the use statement
  • Previous by thread: Re: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity]
  • Next by thread: strange behavior setting window index to 1 in Safari
  • Index(es):
    • Date
    • Thread