Scripting style: Verbs in function names

mwieder ahsoftware at sonic.net
Fri Nov 4 17:19:53 EDT 2016


J. Landman Gay wrote
> All the "native" LC functions are nouns.

Um, no.
That's just sematic sugar the xtalk language creates around some functions.
So
  put the date
  put the target
is the same as
  put date()
  put target()

Ruby allows the same thing, albeit in a more generic form, i.e. you can
create your own function and call it either way.



-----
-- 
 Mark Wieder
 ahsoftware at gmail.com
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scripting-style-Verbs-in-function-names-tp4710027p4710089.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list