Not quite, Statics are just like any other variable except they don't require a class instance to be used. They don't have to be constant, hence the naming convention to help you distinguish.
Of course this how they are done in the qooxdoo framework, but at the end of the day its your own choice so choose what you feel most comfortable with. Matt Hugh Gibson wrote: >> It is also advised that you make your constants all upper case. By >> doing this it reminds you, hopefully stopping you accidently >> changing one (remember these aren't truely constant) and it also >> let's the api viewer know it's a constant. > > Good old Microsoft conventions :-) > > Actually, the e prefix reminds us that it's an enumeration - C++ anyone? > > Surely the API viewer knows that it's a constant given that it's in the > statics section? > > Hugh > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
