5 ms·
This is insane. I have literally never seen a large-scale open source project or JS style guide that uses snake_case. The DOM is camelCase. jQuery is camelCas
by avolcano 13y ago
This is insane.
I have literally never seen a large-scale open source project or JS style guide that uses snake_case.
The DOM is camelCase. jQuery is camelCase. Node APIs are camelCase. Why on earth do Zurb think their library is any different?
- jimmytucson 13y agoMeteor did, at least in the beginning.
- __david__ 13y ago> This is insane. Really? Why on earth would you care? What if they were to indent their code with 3 spaces? Would that be "insane", too? What if they don't like putting in unnecessary braces around one line "if" statements? Insane? It's a (very common) stylistic choice. It's hardly insane.
- avolcano 13y agoIt's a public API meant for consumption by other developers, 95-99% of which are going to be use camelCase. I don't care what their code looks like internally. I do care about the public interface to it.
- jakethehuman 13y ago>What if they were to indent their code with 3 spaces? Whoa there buddy! Put the gun down...
- jakethehuman 13y ago>What if they were to indent their code with 3 spaces? Whoa buddy! Put down the gun... On a serious note... is this trolling or are people seriously complaining about camel-case vs snake-case?
- jakethehuman 13y ago>What if they were to indent their code with 3 spaces? Whoa buddy! Put down the gun... On a serious note... is this trolling or are people seriously complaining about camel-case vs snake-case?