Flash Gordon
07-14-2007, 11:37 PM
Hi,
What is the convention for naming public static vars? I know public static conts look like this:
public static const HELLO_WORLD:String = "hello world";
But is the all capital letters because is it static or because it is a constant? So what would be the convention for this:
public static var WIDTH:Number = 300;
where "WIDTH" would actually change? Would it be all upper case or lower case?
What is the convention for naming public static vars? I know public static conts look like this:
public static const HELLO_WORLD:String = "hello world";
But is the all capital letters because is it static or because it is a constant? So what would be the convention for this:
public static var WIDTH:Number = 300;
where "WIDTH" would actually change? Would it be all upper case or lower case?