Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 CamelCasing a Constant: Acceptable Practice?
#1
I guess this is more of a general ruby question. So I've wrote a couple of scripts, and I can't believe this little thought hasn't hit me in the head until now... I think. But I'd like to hear it from the scripters. Constants can be CamelCased but should they? Is it an acceptable practice to CamelCase a Constant/use lowercase letters in Constants?

Edit: Wikipedia on CamelCase
Edit 2: If anyone feels it's more of a discussion thread than a support thread, feel free to report it/move it over.
Reply }


Messages In This Thread
CamelCasing a Constant: Acceptable Practice? - by PK8 - 02-17-2010, 01:51 AM



Users browsing this thread: