- From: Victor Schedlyn GUTT <notifications@github.com>
- Date: Wed, 06 Jul 2022 06:24:45 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <WICG/webcomponents/issues/902/1176218486@github.com>
Not sure if what we're going for here is what **makes since** relative the DOM/API/Other spec or the end user.
Or if we're going for a **term accurately** and non-biasedly **describing** the action being performed.
As an end user, personally, I'd expect words like "placeholder", "variable", "param", "prop".
For the DOM, I guess terms like "mutation", "position", "point" etc...
For an accurate definition, I'd go with: interpolation.
As mentioned above `{{ }}` can be referenced as _variables_ in other environnements (Django, Laravel's Blade, VueJS).
In VueJS particularly, based on context and the action being performed, `{{ someVariableNameHere }}` can be referenced as "variable", "binding", interpolation.
- `someVariableNameHere` the variable
- `{{ }}` interpolating
- `{{ someVariableNameHere }}` data binding
In Laravel's Blade, `{{ someVariableNameHere }}` is the act of "echoing" out the variable named `someVariableNameHere`.
---
In order, I'd personally vote for : "interpolation", "placeholder".
In second place _(no particular order)_ : "variable", "param", "prop".
---
#### interpolation
_noun_
1. The act of interpolating; the insertion of new words or expressions in a book or manuscript; especially, the falsification of a text by spurious or unauthorized insertions.
2. That which is interpolated; new or (especially) spurious matter inserted; an unannounced or unauthorized insertion in a text.
3. In mathematics, the process of finding, from the given values of a function for certain values of the variable, its approximate value for an intermediate value of the variable.
- https://duckduckgo.com/?q=Interpolation+def
- https://www.merriam-webster.com/dictionary/interpolation
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/902#issuecomment-1176218486
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/issues/902/1176218486@github.com>
Received on Wednesday, 6 July 2022 13:24:57 UTC