python icon indicating copy to clipboard operation
python copied to clipboard

Question about Interface method naming.

Open genalt opened this issue 6 years ago • 4 comments

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?

genalt avatar Mar 11 '19 19:03 genalt

It just simplifies the parser a lot.

https://varlink.org/Interface-Definition

haraldh avatar Mar 12 '19 07:03 haraldh

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

haraldh avatar Mar 12 '19 07:03 haraldh

Hey Harald,

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

genalt avatar Mar 20 '19 13:03 genalt

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.

4383 avatar Sep 02 '19 14:09 4383