Thanks for the thoughts Bob. For those who have replied, here's the reason behind the question.
I'm about to ask for beta testers for an LC tool that greatly speeds up the development of applications that use SQL databases. Part of the tool is a palette of controls that you can drag and drop onto your cards, answer a couple of easy questions and the control will be linked to your database. Right now, I use a naming convention for controls so that the tool's runtime library can recognize controls that are significant to it. My concern is that I'm imposing my naming convention on anyone who wants to make use of the tool. Whether you'd be willing to give up your naming conventions in exchange for the productivity gains you'll get from using the tool - that's the question. I'm considering providing an alternative by using a custom property of the control to store the info I need and let people name the controls according to their own conventions. But that is a fair amount of coding and retesting to be done so I thought I would try to gauge the sentiment on naming conventions before starting down that path. Hopefully, that doesn't break any forum rules. Pete Molly's Revenge <http://www.mollysrevenge.com> On Fri, Oct 7, 2011 at 9:15 AM, Bob Earp <rje...@hotmail.com> wrote: > Pete, > It's a great question, but the last time this was asked on the list I think > the discussion went on for three lifetimes (in use-livecode list years) on > what exactly should be the standard to use. It seems there's more and > different naming conventions in the world than Tim Hortons has served cups > of coffee, so if you are trying to automate layout based on what others use > you're likely to discover the meaning of life, the universe and everything > before completing half of it ;-) > > Richard Gaskin's article is a great start, and I think that most of us that > have coded for a number of years have done something similar. Personally I > think there are really only three things one needs to follow; > > 1. Don't worry about what others do, just name everything in a format that > really makes sense to you and your team today, and in the future. > 2. Keep the names as short and uncomplicated as possible. > 3. Write down what your naming convention standards are so that others can > refer to it, and check those standards with your team on a regular basis to > make sure it continues to work for them. > > Naming is only a way of better understanding what somebody was trying to do > in their script, and that somebody is likely you in the future !! So, don't > forget comments which are as important but generally considered as > kindergarden practice by self proclaimed expert scripters ;-) > > best, Bob... > > > > > From: Pete <p...@mollysrevenge.com> > > To: How to use LiveCode <use-livecode@lists.runrev.com> > > Subject: Object Naming Conventions > > Message-ID: > > < > cabx6j9mopo_9zn3+5usefnp-wyt8w2xfzu1lavp1mdxhuyb...@mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > I vaguely remember a thread on this topic a while back. I'm interested > in > > what naming conventions people have for stacks/cards/controls, if any. > > > > This is in connection with a project I'm working on to automate laying > out > > controls on a card. I'm currently using a naming convention of my own > but > > I'd like to provide a way for other conventions to be used, in particular > > the use of prefix or suffix characters in names of different types of > > objects. > > > > Any input is most welcome. > > > > Pete > > Molly's Revenge <http://www.mollysrevenge.com> > > > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > 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 > > _______________________________________________ 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