[SOLVED] Naming conventions

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
anmldr
Posts: 442
Joined: Tue Sep 11, 2012 11:13 pm

[SOLVED] Naming conventions

Post by anmldr » Fri Jan 16, 2015 6:02 pm

Just starting in the Create it with LiveCode course although I have been occasionally playing around with LiveCode for about 2 years.

What naming conventions do some of you use for variables, parameters, etc. For example, using "g" as the first letter of a global variable?

I want to start the course and my use of LiveCode in using commonly recognized and used naming conventions. I realize that this is not necessary but I would like to start out with good habits.

Thanks,
Linda
Last edited by anmldr on Fri Jan 16, 2015 10:41 pm, edited 1 time in total.

mattmaier
Posts: 109
Joined: Fri Apr 19, 2013 2:49 am

Re: Naming conventions

Post by mattmaier » Fri Jan 16, 2015 6:23 pm

This post addresses it.
http://forums.livecode.com/viewtopic.php?f=7&t=5265
The meat of my suggestion would be to read this article.
http://www.fourthworld.com/embassy/arti ... style.html

SparkOut
Posts: 2407
Joined: Sun Sep 23, 2007 4:58 pm

Re: Naming conventions

Post by SparkOut » Fri Jan 16, 2015 6:25 pm

A great place to find details about these scripting styles and conventions is here http://www.fourthworld.com/embassy/arti ... style.html


Oops, simulpost. Almost. Same link though :)
Last edited by SparkOut on Fri Jan 16, 2015 6:33 pm, edited 1 time in total.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2562
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Naming conventions

Post by jmburnod » Fri Jan 16, 2015 6:29 pm

Oops, simulpost. Almost. Same link though
Me too :D

anmldr
Posts: 442
Joined: Tue Sep 11, 2012 11:13 pm

Re: Naming conventions

Post by anmldr » Fri Jan 16, 2015 10:40 pm

Great! Thanks.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”