From: Thomas Sondergaard Date: 2002-09-17T15:34:26+09:00 Subject: Re: camelCaseTo_ruby_case.rb ?? On Mon, 2002-09-16 at 23:12, Bob X wrote: > Forgive my ignorance. I know the difference of the two but *why* are you > changing it? Did the Ruby consensus decided that is the way to code? Not > a dig...I am a newbie to programming and so have no habits it this area. > I really am just wondering the why of it. I want my modules to be as consistent with the ruby platform as possible, for my own sake and for others. Sticking to your own, or your companys, coding conventions can be a pain, now that most languages come with a substantial class library. For instance, when I started using C# at work, we decided to stick with java/smalltalk style method names that start with a lower-case letter, where Microsoft use a leading upper-case letter. The problem is that you will invariably be implementing interfaces and specializing classes defined in the standard class library, and thus the style of the standard library will creep into your code. Consistency wins over habbit - at least that's how I feel about it. Cheers, Thomas