Re:Airbnb JavaScript Style Guide
by jbergens on Friday July 03, 2015 @04:21AM
(#9824266)
They probably don't mean 'class' in the programming language sense and should therefore use another name.
[ Parent
| on HN ]
Well maybe they are using "class" in the OOP sense, for instance if they're implementing a programming language. Even if they're not, if they use the word "class" in the specification for what they're implementing (maybe they're representing a taxonomical hierarchy in their program and have fields named "kingdom", "phylum", "class", etc), or have the word "class" in a user facing output (maybe they're making an RPG where a character object has fields "race", "class", "level").
It's confufing to use one name inside your code and different one elsewhere.