Re: Algorithms in Applescript
Re: Algorithms in Applescript
- Subject: Re: Algorithms in Applescript
- From: email@hidden
- Date: Wed, 25 Mar 2015 01:39:28 +0100
25. mars 2015 kl. 01:38 skrev email@hidden:
> We do need alternatives. It is only seldom there exist one alternative that is the best approach in every kind of solution/situation. So, I guess some part of the Rosetta Code project then, should be taken with a grain of salt. :)
>
> 25. mars 2015 kl. 00:06 skrev Shane Stanley <email@hidden>:
>
>> On 25 Mar 2015, at 8:13 am, Christopher Stone <email@hidden> wrote:
>>>
>>> The reason method 2 is better is because you cannot depend upon AppleScript to define words the same way you do.
>>
>> In terms of the resettacode definition of the problem, it's also closer to correct because it keeps punctuation. (An arbitrary decision, no?) But the problem definition seems to carry its share of baggage. It's definition of a token would include punctuation characters separated by spaces, something that's not uncommon in many languages -- consider the em-dash in English. And it says white space, but then the sample contains no tabs.
>>
>>> I personally would probably use
>>
>> I think you need to speak to Jamie Zawinksi ;-)
>>
>> --
>> Shane Stanley <email@hidden>
>> <www.macosxautomation.com/applescript/apps/>
>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
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