resource / Front-End-Standards

Front-end development standards for Resource.
MIT License
23 stars 1 forks source link

Reserved words and misspellings #29

Closed Krxtopher closed 11 years ago

Krxtopher commented 11 years ago

In the Objects > reserved words guideline, the example code hits upon a pet peeve of mine. I strongly oppose encouraging the use of misspellings to avoid conflicts with reserved words. Namely: klass, clazz, etc. Misspellings in code should NEVER be encouraged.

Instead, use "aClass", "theClass", "className" or any other clear, correctly spelled alternative.

Can we update the code example to use one of these alternatives?