Tutorials Books Videos Forums

Change the theme! Search!
Rambo ftw!

Customize Theme


Color

Background


Done
Look, an author!

Naming Conventions

by ilyas usal   | filed under Flash and ActionScript

The naming scheme of your movie is very important for readability purposes. I mean that the type of the entity you are referring to should be obvious just by looking at its name. Your best bet then is to make your names phrases, or at least a series of words. Here's how I usually proceed:

MyClass = function() {}; // constructor
aClass = new MyClass(); // instance

There. That's about all I can think about. Once again, you don't HAVE TO use all this, but if you do, your code will be easier to read for everybody.

Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence, ads, and algorithm-driven doodads. A huge thank you to all of you who buy kirupa's books, became a paid subscriber, watch the videos, and/or interact on the forums.

Your support keeps this site going! 😇

- pom

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright KIRUPA 2026 //--