Re: Toxic Soup and Enough for all
Re: Toxic Soup and Enough for all
- Subject: Re: Toxic Soup and Enough for all
- From: Doug McNutt <email@hidden>
- Date: Tue, 18 Mar 2008 09:43:39 -0600
At 23:38 -0700 3/17/08, Philip Aker wrote:
>Hold on a sec Ed, we'll be using sea-shell scripting for most tasks.
bash and AppleScript have one thing in common that continues to frustrate me.
They use the space character as a fundamental part of the programming syntax rather than saving it for use as a delimiter.
In AppleScript it's all over the place and unless you're a real linguist you make mistakes because you don't remember all of the possible single variables or commands that require an internal space. Do_shell_script won't work but I have considered a preprocessor that would make such more-readable spelling functional.
In bash I simply cannot remember to put a space after a left square bracket that was once a call to an external tool, a link to test, that required it. I also simply cannot remember NOT to include spaces before and after equals signs. Kernighan and Ritchie deliberately encourage it and clean FORTRAN code typically included spaces unless they wouldn't fit in 72 columns.
find *
replace -c /n/ "r"
# forever.
--
Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
_______________________________________________
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