On 2016/06/20 16:23:17, Ben Wagner wrote:
> nit: In the context of a compiler, "Kind" seems like a loaded word, i.e.:
> https://en.wikipedia.org/wiki/Kind_(type_theory)
>
> OTOH, maybe it's the least loaded of the loaded words?
"Type" is even more overloaded :-). Is there a better word to represent "What
kind of declaration is this?"
dogben
2016/06/20 18:26:26
Where you use "Kind" to enumerate subclasses, I wo
On 2016/06/20 at 17:45:49, ethannicholas wrote:
> On 2016/06/20 16:23:17, Ben Wagner wrote:
> > nit: In the context of a compiler, "Kind" seems like a loaded word, i.e.:
> > https://en.wikipedia.org/wiki/Kind_(type_theory)
> >
> > OTOH, maybe it's the least loaded of the loaded words?
>
> "Type" is even more overloaded :-). Is there a better word to represent "What
kind of declaration is this?"
Where you use "Kind" to enumerate subclasses, I would probably just use "Enum,"
but I can understand if you don't like that option. My next choice would be
"Sort," but I'm not sure that's better than "Kind."
ethannicholas
2016/06/20 20:17:10
Unless you've got a major objection, I'd prefer to
On 2016/06/20 18:26:26, Ben Wagner wrote:
> On 2016/06/20 at 17:45:49, ethannicholas wrote:
> > On 2016/06/20 16:23:17, Ben Wagner wrote:
> > > nit: In the context of a compiler, "Kind" seems like a loaded word, i.e.:
> > > https://en.wikipedia.org/wiki/Kind_(type_theory)
> > >
> > > OTOH, maybe it's the least loaded of the loaded words?
> >
> > "Type" is even more overloaded :-). Is there a better word to represent
"What
> kind of declaration is this?"
>
> Where you use "Kind" to enumerate subclasses, I would probably just use
"Enum,"
> but I can understand if you don't like that option. My next choice would be
> "Sort," but I'm not sure that's better than "Kind."
Unless you've got a major objection, I'd prefer to just stick with Kind. While
I'm aware of the type theory meaning of the word, "enum Enum" and "enum Sort"
both seem to me to have bigger problems :-).
Issue 1984363002: initial checkin of SkSL compiler
(Closed)
Created 4 years, 7 months ago by ethannicholas
Modified 4 years, 5 months ago
Reviewers: dogben, csmartdalton, djsollen, dogben_google.com, jvanverth1, mtklein, stephana, egdaniel
Base URL: https://skia.googlesource.com/skia@master
Comments: 576