Capitalization


#1

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?


#2

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


#3

what about cammelCase to improve readability of variable names?


#4

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.


#5

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.


#6

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