Skip to content

Consistently use FooFlags for typedef, FooFlag.Bar for bits. - #318

Closed
kdashg wants to merge 1 commit into
gpuweb:masterfrom
kdashg:bit-suffix
Closed

kdashg wants to merge 1 commit into
gpuweb:masterfrom
kdashg:bit-suffix

Conversation

@kdashg

@kdashg kdashg commented Jun 6, 2019 •

Copy link
Copy Markdown
Contributor

Alternative to #292.


Preview | Diff

@kdashg
kdashg requested review from RafaelCintron and kainino0x June 6, 2019 00:46

@kvark kvark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, if we want to go this way, we should at least be consistent with low-level APIs, which all use plural names for flags:

Personally, I'm slightly in favor of the suffix-less naming we currently have in the IDL.

@kainino0x

Copy link
Copy Markdown
Contributor

Currently in the IDL it's inconsistent; I assume you prefer #292?

@kvark

kvark commented Jun 8, 2019

Copy link
Copy Markdown
Contributor

Indeed, it's even been approved :)

@kainino0x
kainino0x self-requested a review July 8, 2019 19:53
@kdashg

kdashg commented Jul 8, 2019

Copy link
Copy Markdown
Contributor Author

Closed in favor of #292 on the WG call.

@kdashg kdashg closed this Jul 8, 2019
@kdashg
kdashg deleted the bit-suffix branch July 8, 2019 19:58
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
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

Successfully merging this pull request may close these issues.

4 participants