First: This is not a question about spelling in software development. But I'm often stumbling upon it in software development.
In software development it's often necessary to name entities both in singular and plural form to distinguish if it's about a single entity or a list of such entities.
$car = new Car(); // one car
$cars = new Cars(); // a list of cars$cars->add( $car ); // add a car to the list of cars
Now in my current use case I'm implementing a QR code algorithm. I need a mapping of encoding modes to their indicators. That means I have multiple encoding modes, every one of them mapped to a different indicator.
Would a list of those mappings be called
- 'encoding mode indicators'
- This would imply their is one encoding mode with multiple indicators.
- 'encoding modes indicators'
- This would imply their is multiple encoding modes with multiple indicators.
I could name that list 'encoding mode indicator mappings'. That would nail it. But while it's a use case in software development, what would a correct real world spelling look like? There are multiple cases, I'd have to decide which plural form is correct and currently I don't now.