My naming convention

Francis Nugent Dixon effendi at wanadoo.fr
Sat Jul 10 13:44:32 EDT 2010


Hi from Beautiful Brittany,

Sorry to put the proverbial cat among the pigeons !

Wonderful ! I have never seen so many complex
naming conventions that I am sure you don't follow.

If you do, then it is for who ? If it is for you,
this means that your organizational solutions
prime upon your script development and production.
What a waste of grey matter !
If you spend more time wondering what you are
going to call your variables, than developing
your scripts, then you DO have a problem !

In 5 minutes, you can write a button script to
list out Variable and Field Names, to ensure that
you don't invent duplicate names.

Revolution scripting is not to be pondered upon.
Just write it, as it flows out of your brain.
Don't invent rules that you will not follow !

Naming conventions are personal. They are
mostly designed to help YOU, maintain and
modify YOUR scripts in the future, if you
ever NEED to return to them !

Forget naming conventions, and spend a little
time with comments. It beats naming conventions
every day. If anybody will ever read it except you !

If you ever have to return to your scripts
(and I doubt that you do this often), you
either recognize your coding, and your coding
knowledge, AND YOUR COMMENTS, and so you don't
need to invent a complex naming convention,
or else it is not your script, and HIS naming
convention is of no help whatsoever.
But by the saints, an intelligent comment is !!!

I spent years (with Hypercard) inventing a simple
and strict naming convention WHICH I MYSELF
RENAGUE ON EVERY DAY !

So - what is the point ?

My 2 cents (of a euro) !

- Francis

-"Nothing should ever be done for the first time !"







More information about the use-livecode mailing list