J. Landman Gay wrote:

> On 7/9/2016 1:39 PM, Richard Gaskin wrote:
>> After all, how does one express an array in English? :)
>
> "Egg carton". Devin taught me that while brandishing a prop at one of
> our teaching sessions.
>
>    put "abcd" into cup 1 of eggcarton "alphabetBlocks"

Conceptually the metaphor works well. But in code I think we're all grateful for the conciseness of:

  put "absc" into alphabetBlocks[1]

Besides, as Mark Wieder suggested, if we were to pursue English-like patterns for that, once we introduce eggcarton objects we'd be obliged to add egg objects as well, and decide what a chicken object is. And after that we'd have to explain to new users which gets initialized first, the chicken or the egg.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to