D3-visualising-data icon indicating copy to clipboard operation
D3-visualising-data copied to clipboard

Using camelCase in javascript

Open twitwi opened this issue 10 years ago • 1 comments

The current javascript code uses underscores, which might be familiar for the learners if they come e.g. from a Python lesson.

My understanding is that javascript uses a camelCase naming convention. If the change is meaningful, cat_image would become catImage and so on.

I'm not sure this is a first priority though.

twitwi avatar Jul 23 '15 21:07 twitwi

Good point. I agree though, not the first priority, but leaving this open for later :) Thanks!

IsaKiko avatar Jul 23 '15 23:07 IsaKiko