CamelCasing a Constant: Acceptable Practice?
#7
I completely forgot to mention RGSS convention for class. Underscores are used for grouping.

Game_XXX
Sprite_XXX
Window_XXX

The XXX's are camel case. E.g. Window_EquipLeft.

@kyonides:
I was talking about conventions not what's possible, sorry if I wasn't clear on that.

Note that in RMXP:
Code:
p Math.PI #=> NoMethodError raised
You also get a NoMethodError in Ruby 1.8.6.

There can easily be cases where it makes sense to break the conventions. ^^

*hugs*
Reply }


Messages In This Thread
CamelCasing a Constant: Acceptable Practice? - by Zeriab - 02-18-2010, 10:27 PM



Users browsing this thread: 2 Guest(s)