on synonyms and homonyms (clarification)
on synonyms and homonyms (clarification)
- Subject: on synonyms and homonyms (clarification)
- From: has <email@hidden>
- Date: Tue, 24 Feb 2004 00:35:17 +0000
I wrote:
Paul Berkowitz wrote:
I guess it's a personal preference. The AppleScript
singular-property-of-plural-elements doesn't really have any exact
correspondence in English
Source code is written for the benefit of human readers, not machines. [...]
Sorry, that paragraph should've begun:
"Agreed. Source code is written for the benefit of human readers ..."
Otherwise it's not obvious how my comment related to his.
So yeah, like Paul says, it's left to the author to decide how best
to phrase their program. AppleScript has absolutely no preference [1]
for one form over the other, so in each case use whichever form makes
it easiest for humans to read.
has
[1] Actually not 100% true, as (Surprise!) I can think of one use
case offhand where "of" and "'s" forms are _not_ synonymous: for no
obvious reason AppleScript supports "<command> of <object>" but not
"<object>'s <command>".
--
AppleScript language: Calvinball with syntax
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
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.