Skip to content

Conversation

odow
Copy link
Member

@odow odow commented Apr 30, 2021

I'm not necessarily sold on this one.

The other option is to rename SingleVariable to .variable_index and VectorOfVariables to .variable_indices. Either way, we should standardize.

Closes #641

@odow odow added the breaking label Apr 30, 2021
@odow odow added this to the v0.10 milestone Apr 30, 2021
@odow odow force-pushed the od/variable-index branch from 35d073e to e270a96 Compare April 30, 2021 23:56
Copy link
Member

@blegat blegat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, I never remember for which one it is variable and which one it is variable_index.
I like the rule: no need to add this in the name if it's already in the signature. Here, the fact that it's an index is already in the type so we can just call it variable.

@odow odow merged commit 35c4984 into master May 2, 2021
@odow odow deleted the od/variable-index branch May 2, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Naming consistency
2 participants