Scripting style: Verbs in function names
bobsneidar at iotecdigital.com
Fri Nov 4 15:18:22 EDT 2016
What is wierd is that we are calling commands and functions as though they were properties. Another layer in the onion. I think all this reveals how truely difficult it is to create an "english like" language, when English (and all languages) are so relative by nature and dependent to some degree on context, whereas a programming language simply cannot be without inspiring the kind of conversation we are having here.
Perhaps we have reached the precipice of high level languages and simply cannot go further without tumbling over the edge.
On Nov 3, 2016, at 15:44 , J. Landman Gay <jacque at hyperactivesw.com<mailto:jacque at hyperactivesw.com>> wrote:
All the "native" LC functions are nouns. The reason is that LC functions can be used with either parentheses or preceded by "the". So we get this:
put the date
put the selectedChunk
put the target
If these were verbs:
put the getDate
put the getSelectedChunk
put the getTarget
which is weird.
More information about the Use-livecode