pete at lcsql.com
Sun Jun 10 14:46:40 EDT 2012
Thanks Richard. Yes, the naming convention idea is what I've done and
moved on. Namespaces would be great at some point but not holding my
breath for that.
lcSQL Software <http://www.lcsql.com>
On Sun, Jun 10, 2012 at 11:33 AM, Richard Gaskin <ambassador at fourthworld.com
> Peter Haworth wrote:
>> I've renamed the global in the utility stack to something that's hopefully
>> obscure enough that it won''t clash with other stacks' globals.
> I'm a big fan of Getting-It-Done-And-Moving-On solutions, and that works.
> It would be nice if we could declare namespaces, and perhaps in the future
> we will, but for now adopting habits with naming things can pay off nicely
> with the setup we currently have.
> I've become fond of using some identifying prefix for globals in addition
> to the "g", so I know where they're defined and used.
> For example, I'm currently updating a library for server data store
> management called libDChunk (the storage scheme is called "Document
> Chunkadelic" - long story), so the globals it uses are prefixed with "gdc",
> e.g., "gdcUserInfoA".
> Now that I think of it, it may be worth mentioning that trailing capital
> "A" - I got that idea from Sarah Reichelt, who uses it to distinguish
> If you're really into this sort of curmudgeonly obsessive naming stuff,
> this article is full of it:
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter: http://twitter.com/**FourthWorldSys<http://twitter.com/FourthWorldSys>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode