Devin Mullins
6/22/2005 9:53:00 PM
>Also, a completely unrelated question for those who read this far. I
>notice there seem to be two competing Ruby conventions for naming
>methods. My copy of the Pickaxe book (first edition) uses
>mixedCaseNaming. Other sources (Ruby itself, frex) use
>underscore_naming. Is one of these prevalent, or is it whichever you
>like better?
It's up to you, obviously, but underscore_naming is the popular method naming convention. In my little Ruby Chess program (*still* not done... haven't had time lately), I used underscore_naming for the "production" code, and CamelCase for the unit test code, but that was mostly by accident.
Devin