It is comforting to have a (sort of) unified naming system. In HC, it was 
common, for example, that all globals be prefixed with "the", as in 
theGlobal.

In LC, I see many use "t" as shorthand for "the" as, for example, tLine:

repeat for each line tLine in foo

And I see a convention "g" for globals.

I can read such things just a little easier, whether in my own code or 
someone elses, if I see familiar indicators. I think it is a good idea for 
common objects and variables.

Was it Danny Goodman who invented "foo", and "temp"? Everyone over 45 knows 
immediately what these are intended to mean.

Craig Newman
_______________________________________________
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