Skip to content

Conversation

mlangens
Copy link

A little clunkily written, but reliably gets the job done. Any input is welcome!

Copy link
Member

Choose a reason for hiding this comment

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

Drop the toString() on the attr names, since names are always strings anyway regardless of using integers, etc to refer to them.

@JangoSteve
Copy link
Member

Overall, this functionality looks good, though it's difficult to understand exactly what's going on. If you could comment each of the non-obvious lines to say briefly what they do (or maybe provide an example of a and b and how each line would return in that case).

Also, fix formatting to be a consistent 2-space indentation throughout the method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants