The one and only LC convention I attended many years ago addressed naming 
methods in one of their sessions. The idea was to always use some kind of 
prefix that no one else would ever use in their libraries, and that would never 
conflict with any reserved words that might crop up in the future. Using 
project Prefixes seems a great way to accomplish this.

Bob S


On Oct 31, 2014, at 08:39 , Devin Asay 
<devin_a...@byu.edu<mailto:devin_a...@byu.edu>> wrote:

This kind of thing is a good argument for using a form of Hungarian Notation 
when naming variables and custom properties. I myself was just bit by this in 
LC 6.7 and 7.0. There was new property added—the editionType—which reports 
which edition, community or commercial, you are using. Unfortunately I had been 
using a property of that name for the last couple of years in a project. I went 
back and duly renamed it to [myProjectPrefix]_editionType and now the universe 
is happy again.

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University

_______________________________________________
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