Consistent Plurals (contents vs content, etc.) #300
mscuthbert
started this conversation in
Ideas
Replies: 1 comment
-
(though "global" might not be the best example since it's a keyword in Python -- already got bit by it in a converter) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Writing my first MNX converter (MNX<->music21) and wondering if it would help later parsers and humans if we consistently used plurals for anything whose value/right-hand-side is an array:
We currently use "global" not "globals" because the value is an object, but within "global" is "measures" implying an array.
The current major inconsistency in this is in
parts[i].measures[j].content[k]
-- what about adding the extra letter to make thisparts[i].measures[j].contents[k]
?Beta Was this translation helpful? Give feedback.
All reactions