Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 CamelCasing a Constant: Acceptable Practice?
#5
Well put kyonides ^_^
You use underscore for upper case constants:

ThisIsAConstant
THIS_IS_A_CONSTANT

It is not convention to use This_Is_A_Constant nor THISISACONSTANT
The underscore is not needed since the CamelCasing tells you where the spaces are.
Variables and methods are lowercase.

*hugs*
Reply }


Messages In This Thread
CamelCasing a Constant: Acceptable Practice? - by Zeriab - 02-18-2010, 12:49 AM



Users browsing this thread: