7 ms·
"Why do you use CamelCase in JavaScript but underscores_in_ruby?" Uhh, because the languages' runtime libraries use that convention? For the same reason that W
by newobj 14y ago
"Why do you use CamelCase in JavaScript but underscores_in_ruby?"
Uhh, because the languages' runtime libraries use that convention? For the same reason that Windows C/C++ coders typically use a different style than Unix C/C++ coders? The platform runtime libraries set it forth?
- sophacles 14y agoYeah, that was in fact the gist of the next sentence in the essay.
- zerostar07 14y agoActually he makes the opposite (wrong) causal argument that because of popularity these styles caught on and became the "language's style". Nothing to do with popularity, it was all predetermined in the vendor's libraries.
- deleted 14y ago[deleted]