Re:Airbnb JavaScript Style Guide
by adrusi on Friday July 03, 2015 @02:04PM
(#9827010)
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.
It's confufing to use one name inside your code and different one elsewhere.