W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2007

[Whatwg] [whatwg] More on postMessage (OT)

From: Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
Date: Tue, 24 Jul 2007 20:36:07 +0200
Message-ID: <200707242036.08190.giecrilj@stegny.2a.pl>
Dnia pi?tek, 20 lipca 2007 04:49, Maciej Stachowiak napisa?:
>
> I don't think AppleScript is very useful to understanding API design
> in languages with more conventional syntax. For example,
> document.write("foobar") is not very well expressed as 'tell document
> to write "foobar"', it would be more accurate to say 'write "foobar"
> to document'.
>

It is consistent with the original "tell paragraph 5 to set word 3 
to "foobar"".  I am accustomed to this syntax and I can see nothing weird 
about it right now.

AppleScript rulez :-)
Chris
Received on Tuesday, 24 July 2007 11:36:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC