In the days of old compilers and IDEs I used to use complicated naming
conventions - including the (horrible) Hungarian notation mentioned above
(But it did help at the time. I think. When wading through piles of someone
else's mangled C code.).

Now with more sensible IDEs that can do autocompletion (For AS2 I'm using
FlashDevelop at the moment, which is really nice) I don't really bother
doing more than Mark does - I use:
- An underscore for class private variables (_myVar)
- Sensible/readable names for other variables (isFinished, appFolder,
configWindow, lastClip)

It used to be a real issue. Now it's far less of one. As long as you're
readable and understandable and above all _consistent_ throughout your code,
it doesn't really matter.

HTH,
  Ian

On 2/2/06, Mark Walters <[EMAIL PROTECTED]> wrote:
>
> The extensions _mc, _txt, etc, were originally recommended by
> Macromedia to trigger the context sensitive autocompletion in Flash
> MX. With strict datatyping it's no longer required and is really just
> preference. Personally, I add a $ in front of my private variables and
> just make everything else named well enough to be understood by anyone
> reading my code.
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to