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

Create macro for getters and setters #13

Closed
aashish24 opened this issue Mar 5, 2014 · 2 comments
Closed

Create macro for getters and setters #13

aashish24 opened this issue Mar 5, 2014 · 2 comments
Assignees

Comments

@aashish24
Copy link
Member

Currently we do this:

foo.setBar(10);
foo.setLength(20);
foo.bar()

Instead we want to do this:
foo.bar(10).length(20);

But we don't want to write each function where we would have to check
for the argument.

@cjh1
Copy link
Contributor

cjh1 commented Mar 5, 2014

This is related to existing geoweb issue #213

@aashish24
Copy link
Member Author

I guess we don't have a very good solution for this? If that's the case I am closing this for now.

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

No branches or pull requests

2 participants