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

Make the API easy to use without macros. #49

Closed
nical opened this issue Feb 24, 2018 · 1 comment
Closed

Make the API easy to use without macros. #49

nical opened this issue Feb 24, 2018 · 1 comment

Comments

@nical
Copy link
Contributor

nical commented Feb 24, 2018

I received the feedback that abusing custom syntax can be intimidating, and make it hard to understand what is happening under the hood. As a general rule of thumb I think that It's best for an API to be easily usable without macros and then on top of that optionally provide some macros to provide extra ergonomics for those who want it.
Let's follow this rule for defining and registering scripts and classes.

nical added a commit to nical/godot-rust that referenced this issue Feb 24, 2018
nical added a commit to nical/godot-rust that referenced this issue Feb 24, 2018
…erties in the example that seem to be causing issue godot-rust#49."

This reverts commit 0cc4faf.
nical added a commit to nical/godot-rust that referenced this issue Feb 24, 2018
@nical
Copy link
Contributor Author

nical commented May 10, 2018

The manual class class registration code is new on par with the godot_class macro.

@nical nical closed this as completed May 10, 2018
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

1 participant