From: Robert Klemme Date: 2004-10-21T20:04:15+09:00 Subject: Re: CamelCase issues "Michael Neumann" schrieb im Newsbeitrag news:20041021100547.GF983@miya.intranet.ntecs.de... > On Thu, Oct 21, 2004 at 06:34:20PM +0900, Robert Klemme wrote: > > > Which one would you prefer? Thanks. > > > > I'd stick with underscore style. IMHO readability is not really improved > > with camel case (might depend on screen, font and coloring though) and the > > only advantage is that you save some chars. > > Then, how about file names? Do you prefer underscore-style, too? > For example: > > session_store.rb vs. > SessionStore.rb > > Shouldn't they be named after the class (camelcase)? Hm, never though of that much. But I'd say, if a file contains only one class, name it after that class, otherwise choose the name that seems most appropriate (whatever that is :-)). Kind regards robert