Object Prefixation

J. Landman Gay jacque at hyperactivesw.com
Fri Jan 21 15:15:28 EST 2011

On 1/21/11 1:12 PM, Richmond wrote:

> I am not am huge fan of comformity ["Really; you surprise me, Mr
> Mathewson:]; however,
> there is a time and a place for everything; and this might just be one
> of those junctures
> that would benefit from some sort of conformity.

I don't see the point of naming objects according to a particular 
system. When referenced in a script, they are almost always preceded by 
the object type. I.e.: btn "mybutton". Seems pretty clear to me. I do, 
on the other hand, use a system to label variables according to scope 
because there is no other way to identify that.

That said, I do sometimes name group with "grp" at the end of the name, 
though I'm not sure why, and labels have "-lbl" at the end because those 
are the only fields I've ever needed to identify visually. But I never 
need to know whether a field is a field, because the script always has 
"field" before the object name.

Maybe I'm missing something. I won't use your specs anyway. :)

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the Use-livecode mailing list