Hacker News new | ask | show | jobs
by thybag 4252 days ago
The camel casing comment confuses me? There is nothing stopping anyone from using

    var x = my_function();
instead of

    var x = myFunction();  
if that's what they want to do?
1 comments

True. Though the convention in JS is generally camel case so as soon as you use a library you're going to end up with some disgusting horror with mixed code styles. Ruby's libraries generally adhere to the underscore style. I don't consider it a reason to mount a holy war mind you.