Re: [WICG/webcomponents] Template/part proposals - Naming for DOM Parts API (#902)

I believe [my suggestions above](https://github.com/WICG/webcomponents/issues/902#issuecomment-1176218486) _("interpolation", "placeholder", "binding")_ do not infringe the guideline.

- **Use common words** (at the very least common enough, definitely common in my sphere of the web)
- **Use ASCII names** (check)
- **Consult others on naming** (this is what's happening)
- **Use future-proof names** (yes, otherwise proven / open for debate)
- **Name things consistently** (check)
- **Warn about dangerous features** (not applicable)

Albeit `interpolation` should be disqualified as it mostly describe the action being undertaken rather than the elements being acted upon. Plus reading through my answer, I believe I got side tracked a bit as this would make no sens:

```ts
// ...
interface NodeInterpolation : Interpolation {...};
interface AttributeInterpolation : Interpolation {...};
// ...
```

So, "placeholder" and "binding" are left :)

```ts
// ...
interface NodePlaceholder : Placeholder {...};
interface AttributePlaceholder : Placeholder {...};
// ...
```

```ts
// ...
interface NodeBinding : Binding {...};
interface AttributeBinding : Binding {...};
// ...
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/902#issuecomment-1192754999
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/902/1192754999@github.com>

Received on Friday, 22 July 2022 17:16:13 UTC