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

Naming "struct" interface getter methods #22

Open
infeo opened this issue Oct 19, 2022 · 0 comments
Open

Naming "struct" interface getter methods #22

infeo opened this issue Oct 19, 2022 · 0 comments
Milestone

Comments

@infeo
Copy link
Member

infeo commented Oct 19, 2022

As mentioned in PR #19 (comment), currently the naming convention for getters in struct interfaces is mixedbetween

  • record-style: if field is called foo, the getter is also called foo() and
  • java-style: if field is called foo, the getter is called getFoo()

Before reaching 1.0.0 we should decide what naming convention to use to offer a unified API.

@infeo infeo added this to the next milestone Apr 22, 2024
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