2 ms·
The fact that you are explaining this to me reinforces my point. One of my primary criteria in choosing a technology to work with its how accessible is communi
by andrewstuart 3y ago
The fact that you are explaining this to me reinforces my point.
One of my primary criteria in choosing a technology to work with its how accessible is community support, documentation, third party articles and writing.
It had better be a compelling technology that names its main things exactly the same as the biggest concepts in web development, thereby making it a battle to resolve questions and issues and adding unnecessary confusion.
I do use a nodejs library called "Postgres" which provides a Postgres SQL driver but I really hate the fact that searching for documentation/issues is essentially impossible. I use it because I feel I had no choice, it's the best possible technical solution.
Names matter.
Searchability matters a huge amount.
- mirekrusin 3y agoIt’s like complaining that sql library has tagged template function called sql - of course it will and it makes perfect sense.
- hmcdona1 3y agoSo your gripe is essentially you don't like reading the documentation of the libraries you use, just, in general? Template literals are just a feature of javascript, it's not even anything that bespoke. That's why it's called "lit". The output of those tag functions are just rendered with standard DOM features too. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- deleted 3y ago[deleted]
- spankalee 3y agoI'm curious. When are you searching for `html` and `css` and not using the https://lit.dev https://lit.dev docs, or already reading about them in some way? This is literally the first criticism I'm ever heard of the template tag names. Did you see a code snippet and want to learn more? `html` and `css` are just functions we vend. They're important ones, but two among many. The names need to be short and intuitive so that when you see something like: html`<p>Hello world</p>` both the developer and tools know what to expect of the string content. Naming them something unique would really harm readability, IMO.