6 ms·
The camel casing comment confuses me? There is nothing stopping anyone from using var x = my_function(); instead of var x = myFunction(); if that'
by thybag 12y 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?
- colinramsay 12y agoTrue. 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.