Object Prefixation

Richmond richmondmathewson at gmail.com
Fri Jan 21 15:23:13 EST 2011


On 01/21/2011 10:15 PM, J. Landman Gay wrote:
> 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. :)
>
>
  You probably wouldn't want my specs as they are designed to help my 
eyes see better
rather than yours . . .  :)

And, as you see; we don't see eye-to-eye about prefixation.

Eye-Eye, Richmond.



More information about the use-livecode mailing list