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

Question about Interface method naming. #11

Open
genalt opened this issue Mar 11, 2019 · 4 comments
Open

Question about Interface method naming. #11

genalt opened this issue Mar 11, 2019 · 4 comments

Comments

@genalt
Copy link
Contributor

genalt commented Mar 11, 2019

Hello guys,

Why method name should start with an uppercase character? I know this is a feature, but why did you decide to use it?

@haraldh
Copy link
Contributor

haraldh commented Mar 12, 2019

It just simplifies the parser a lot.

https://varlink.org/Interface-Definition

@haraldh
Copy link
Contributor

haraldh commented Mar 12, 2019

I could have mapped these to lowercase for the python implementation, though.

@genalt
Copy link
Contributor Author

genalt commented Mar 20, 2019

Hey Harald,

Sorry for a delay. Yes, this mapping would be really useful, at least for Python. Thanks!

@4383
Copy link
Contributor

4383 commented Sep 2, 2019

Hello,

Just to clarify things I think it's preferable to speak about camel case style instead of uppercase first character here, and so it can be preferable to use camel case term there too for the sake of consistency, please correct me if I'm wrong.

Anyway mapping on a full lowercase will works with uppercase and camel case both styles.

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

3 participants