It is more an English question than a Coding question, but both are related :
Should we put an S in the name of array of things ? I want to know if it is just an opinion question or if there is a real English rule.
How to name an array of that array ?
Example 1
I have an object named Constraint
. I want to create an array of that object. How should I name it ? ConstraintsArray
or ConstraintArray
?
Answer
Do not use Hungarian Notation. Call it Constraints
.
Example 2
How to name an array of that array ?
Thank you for your answers.
IMO, you should just call it "constraints", without the "array" prefix (referring the Clean code.. :) )