From: Daniel DeLorme Date: 2007-06-04T07:51:11+09:00 Subject: Re: Module/Class Organization Trans wrote: > 1) BASE CLASS The only reason this is popular - or even exists at all - is because it was introduced by rails. I don't think this naming was ever used before rails, and for good reason; what kind of name is "Base"? > Which is better? Are there serious advantages/disadvantages to any of > these? As far as naming is concerned I don't think you can objectively select a "best" approach; semantics are too subjective. But the "base class" approach does have the property of isolating constants defined in the container namespace whereas the "container class" approach does not: class A K = 1 class B < A end end A::B #=> 1 A::C::B #=> 1 Whether you consider that an advantage or an drawback is up to you. Daniel