# Q: writing a web chat room--sharing info?

**URL:** <https://rubytalk.org/t/q-writing-a-web-chat-room-sharing-info/19123>\
**Category:** ruby-talk\
**Created:** [22 June 2005 21:53 UTC](https://rubytalk.org/t/q-writing-a-web-chat-room-sharing-info/19123 "2005-06-22T21:53:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devin\_Mullins](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Devin\_Mullins](https://rubytalk.org/u/Devin_Mullins)\
**Post date:** [22 June 2005 21:53 UTC](https://rubytalk.org/t/q-writing-a-web-chat-room-sharing-info/19123/1 "2005-06-22T21:53:05Z")

</div>

> 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
