From: pharrington Date: 2009-08-15T01:00:07+09:00 Subject: Re: Class/Module Naming Best Practice for Acronyms On Aug 14, 11:17 am, Intransition wrote: > If you are encapsulating something that is generally referred to by an > acronym, is it better to use all caps, even though in Ruby that > usually indicates a constant value of some sort other than a class or > module. Or is better to capitalize the term so it conforms to the > typical look of class/module names. > > Eg. > >   XML::Document  -or-  Xml::Document > >   POM::Metadata  -or-  Pom::Metadata > >   ANSI::Code     -or-  Ansi::Code > > I can't seem to ever make up my mind about this, so I thought I'd ask > and see if there is some sort of general consensus or if someone else > has some sort of concrete basis on which to decide. POM is delicious. so POM should be capitalized. (but I myself use all caps for module/class names when such matches the actual spelling, and libraries such as Nokogiri and JSON seem to do this too, so that seems like the expected way of doing?)