Re: [OT] AppleScript scripts versus Shell scripts
Re: [OT] AppleScript scripts versus Shell scripts
- Subject: Re: [OT] AppleScript scripts versus Shell scripts
- From: Michael Kelly <email@hidden>
- Date: Sun, 26 Jan 2003 02:38:45 -0800
- Mail-followup-to: AppleScript List <email@hidden>
On Sun, Jan 26, 2003 at 01:39:35AM -0500, John C. Welch wrote:
>
C++ is the worst attempt at an object oriented language ever done, and is
>
only adequate because C is a decent enough language.
Here I'll have to bow out, because I've not used C++ enough to make any
kind of judgment on that.
>
It's overly simple, it allows you to do too many stupid things, and it's not
>
designed to do what AppleScript does. The fact that so many high level
>
languages emulate the syntax of a low level language doesn't make it a good
>
scripting language.
While I agree some things in C are overly simplified, it is, after all,
low level. Enter C++, Java, etc, for good or bad. I'm not claiming C is
the most versatile language ever invented, but what it does it does very
well. C generally gives you what you asked for, not what you wanted, and
I personally have no problem with that.
The purpose of a language is irrelevant when talking about its syntax --
syntax determines readability, and things such as blocks and control
statements will remain in any language, high level or low level (to a
certain extent), regardless of purpose.
>
>> I also find that most
>
>> problems with applescript can be solved by testing other tools.
>
> What precisely do you mean?
>
I mean, use a better scripting tool.
Agreed.
>
> Perhaps the fact that I'm much better versed in C, and Perl than
>
> AppleScript has made me prejudiced, but there's also the fact that I
>
> learned most of what I know about C in a 2-month period, while what
>
> little I know of AppleScript has taken years to sink in.
>
>
>
> Perhaps it is a clash between my style of thinking and AppleScript's,
>
> but I've never found another language that took as long to comprehend.
>
Or you keep expecting it to be something it's not. My experience with
>
AppleScript was the inverse...took about a month to get it, and it's been
>
great ever since. C was/is/will always be painful to deal with.
Perhaps. My main gripes, however, are about the syntax, the philosophy
of throwing fatal errors for relatively minor problems (forcing lots of
'try' blocks), and Apple's neglect of the language (bugs!).
Ultimately I should probably just spend more time tied to a computer
forcing myself to work with AppleScript rather than ranting about it :)
--
Michael
email@hidden
http://www.jedimike.net/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.