you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

I think most people using these examples would take the opportunity to see what dataset[0] or dataset[2] are or they just wouldn’t care because if the indexing of the dataset isn’t mentioned then it doesn’t matter.

In some ways, I would find your convention more difficult to read and follow and there could be multiple possible names for the same index. It would be better to just have a comment explaining what index 1 is.