4 ms·
"using the same naming convention on server as client means our JS doesn't have a mix of camelCase and under_scores for things received via JSON" Couldn't that
by quanticle 15y ago
"using the same naming convention on server as client means our JS doesn't have a mix of camelCase and under_scores for things received via JSON"
Couldn't that almost be viewed as a feature, rather than a bug? I mean, this way you can instantly tell if a particular variable was received from the server via JSON or was defined in the client code itself. I would consider a naming distinction like to be a benefit, rather than a harm.
- wahnfrieden 15y agoHm, how is that generally valuable to know? Maybe in certain use cases but for us that would just be noise.