# Re: camelCase vs ruby\_case

**URL:** <https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862>\
**Category:** Ruby\
**Created:** [January 20, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862 "2006-01-20T21:22:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [January 20, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862/1 "2006-01-20T21:22:12Z")

</div>

There were a LOT of discussions on the subject over time on this list.  
Please search ruby-talk archive at  
[http://www.ruby-talk.org/ruby/ruby-talk/index.shtml](http://www.ruby-talk.org/ruby/ruby-talk/index.shtml) to get an idea.

Gennady.

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [January 20, 2006, 9:28pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862/2 "2006-01-20T21:28:15Z")

</div>

Great!  
Thanks Grennady.

-Zach

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [January 20, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862/3 "2006-01-20T23:08:09Z")

</div>

Zach-

```
I prefer the snake_case myself as it5 is more readable. But one of

```

the best reasons I have come across for always using underscores in  
ruby is the ruby is from Japan and Matz has said that snake\_case is  
much more readable for japanese people to read. That and the fact  
that the whole standard library and most ruby code you will come  
across uses snake\_case so camelCase looks out of place in ruby code.

Cheers-  
-Ezra

On Jan 20, 2006, at 11:49 AM, Zach wrote:

> > [http://www.ruby-talk.org/ruby/ruby-talk/index.shtml](http://www.ruby-talk.org/ruby/ruby-talk/index.shtml) to get an idea.
> > 
> > have an “ABC” in Camel Case it I’d have to would be to break up the  
> > out there. Do you prefer word breaks by underscore or case? Does

-Ezra Z.  
WebMaster  
Yakima Herald-Republic Newspaper  
[http://yakimaherald.com](http://yakimaherald.com)  
removed\_email\_address@domain.invalid  
blog: [http://brainspl.at](http://brainspl.at)

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [January 24, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862/4 "2006-01-24T16:39:27Z")

</div>

“Zach” wrote

> > I’ve another question I’d like to pose the Ruby community. Coming  
> > from a Java background, so I’m rather used to “camelCase” as opposed  
> > to  
> > what looks to be the standard “ruby\_case”.
> > 
> > Not trying to incite flame\_wars or the like, looking for honest  
> > opinions.

The quote below is just one other person’s opinion, but if you know  
what that person has accomplished then perhaps you understand why  
that opinion has value:

“I eschew embedded capital letters in names; to my prose\_­oriented  
eyes,  
they are too awkward to read comfortably. They jangle like bad  
typography.”

Quote is from:

[http://www.lysator.liu.se/c/pikestyle.html](http://www.lysator.liu.se/c/pikestyle.html)
