Does it matter when you are typing your code, wether or not things in the code that are wrapped but aren’t seen on the actual website are capitalized?


Capitalization is a formal writing approach. It will not be necessary to capitalize any code, unless creating a Class structure.


what about cammelCase to improve readability of variable names?


You raise a good point, and one that follows a convention in JavaScript. The OP will be advised that only Class structures ever begin with a capital, which is what capitalization means.


True, but i never heard of cammelCase before i programmed for a while, so i am not surprised if people name this capitalization even though that is technically not correct. We will just have to wait for OP response.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.