Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Consistency of API #38

Open
rockitbaby opened this issue May 27, 2016 · 0 comments
Open

Improve Consistency of API #38

rockitbaby opened this issue May 27, 2016 · 0 comments

Comments

@rockitbaby
Copy link
Contributor

(a bit of a note to self)

we should decide on when to use methods or getter:
e.g.: a) Entry.path() is a method, while b) Reference.absoluteRefName is a getter.

I prefer b) whenever the value is computable based on the entry and its parents
a) for methods that change the tree

needs further discussion.

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

No branches or pull requests

1 participant