That's because what I actually meant to say that *UNDERSCORE* case is
bad in JavaScript, not camelcase.

That would also explain why in my reply to Ben I defended camelcase,
after saying it's bad in my first email to this thread.



On Wed, Nov 3, 2010 at 2:01 PM, Ben Schwarz <ben.schw...@gmail.com> wrote:
> Yeah… I kinda knew that I was right ;)
> I really wanted to hear if Julio was serious and maybe dive into his
> thoughts being that he writes so much javascript. :-)
>
>
> On 3 November 2010 13:59, David Goodlad <da...@goodlad.ca> wrote:
>>
>> On Wed, Nov 3, 2010 at 1:36 PM, Ben Schwarz <ben.schw...@gmail.com> wrote:
>>>
>>> Just wondering if you can break down why you think camel-case is a bad
>>> idea in javascript is a bad idea?
>>> I'm asking because I always believed that this was the style as defined
>>> by mr crockford.
>>
>> You're definitely right, Ben. The standard library uses camelCase, and
>> most popular open source libraries use it as well. For no objective reason
>> my brain prefers to look at the more ruby-ish under_score style, but when I
>> hack on JS I always use camelCase to be consistent with the rest of the JS
>> ecosystem.
>> Dave
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby or Rails Oceania" group.
>> To post to this group, send email to rails-ocea...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rails-oceania+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/rails-oceania?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to rails-ocea...@googlegroups.com.
> To unsubscribe from this group, send email to
> rails-oceania+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>



-- 
http://awesomebydesign.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-ocea...@googlegroups.com.
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to