[alicebot-archcomm] Attribute var

Christopher Fahey [askROM] alicebot-archcomm@list.alicebot.org
Thu, 14 Mar 2002 13:06:10 -0500


> if you saw
>    <set-var name="name">Dorothy</set-var>
> 
> would you have to pause as long to figure out what it meant as you
> did for <set name="name">Dorothy</set-var>


No, I probably would not have to pause as long because the "natural
english" reading is somewhat improved. 

The old way is incredibly unnatural:
   <set name="name">Dorothy</set> 
       (reads as "Set the name of 'name' to Dorothy")

Your proposed way is a bit better:
   <set-var name="name">Dorothy</set-var>
       (reads as "Set the variable whose name is 'name' to 'Dorothy'")

But I still don't see why not go all the way to 
   <set var="name">Dorothy</set>
       (reads as "Set the variable called 'name' to 'Dorothy'")

Frankly I didn't understand your distinction between <set-var> and <set>
at all. Please try to explain it without using LISP as an example. 

-Cf

[christopher eli fahey]
art: http://www.graphpaper.com
sci: http://www.askrom.com
biz: http://www.behaviordesign.com