William Cook, from the University of Texas at Austin, has a draft of his paper “AppleScript“, which discusses the history of the language and some of the decisions that went into its design.
Something that particularly interested me was their use of usability testing the language:
3. Given the handler:
on doit from x to y with z
return (x ∗ y) + z
end doitWhat does the following statement evaluate to?
doit with 3 from 8 to 5
- 29
- 43
- error
- other:
Please state which of the following AppleScript statements you prefer.
put "a", {"b", "c"} into xput {"a", {"b", "c"}} into x
window named "fred"window "fred"
window 1window #1
word 34word #34
"apple" < "betty""apple" comes before "betty"
This incredibly simple questionnaire guided the language designers in their task to create a language suitable for casual programmers. Why don’t we do similar things with ‘proper’ languages?
