Re: Ah, the pains and pleasures of Learning AppleScript [was: more sdef-based library stupidity]
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