5 ms·
I suspect that it goes back to the days of yore when JavaScript was associated with Java and the orientation of the Java community toward camelCase [it's now th
by brudgers 10y ago
I suspect that it goes back to the days of yore when JavaScript was associated with Java and the orientation of the Java community toward camelCase [it's now the Java convention: http://www.oracle.com/technetwork/java/codeconventions-135099.html http://www.oracle.com/technetwork/java/codeconventions-13509...]
I suspect that the reason Java tended toward camelCase is that camelCase was emerging from research at about the time Java was released into the wild and it came along for the ride. Even wilder speculation is that camelCase rose out of Hungarian notation which was among 'best practices' preceding Java's release and Hungarian notation uses lower case prefixes on capitalized descriptions.
Three levels of speculation is as far as I will go.