Re:Why I Write CSS in JavaScript
by pmlnr on Monday February 18, 2019 @02:07PM
(#19193292)
It's not a limitation.
It's different.
[ Parent
| on HN ]
It is absolutely a limitation, because there are things you can express in other languages that you cannot in CSS.
But a limitation isn’t necessarily bad, and is often good. Finding the language of least power (ie it is just powerful enough to express the sorts of things you want, and no more) is very useful for safety and productivity, but in CSS’s case it seems like it’s no longer powerful enough to express all the things its users desire.
It is both. Whether you consider that a good or a bad thing is an entirely separate issue.
Its different and it a poor lang. The only people advocating for css only are privacy freaks. They're often the least return producing customers, hence ignored.
As far as I understand there are very good sides of CSS, as a declarative constraint language. More than being a poor language it looks like it is hard to use it for modern web development.
Re:Why I Write CSS in JavaScript
by LocalPCGuy on Monday February 18, 2019 @04:11PM
(#19194502)
> The only people advocating for css only are privacy freaks.
This just is not true. It may be your opinion, but it is objectively false, particularly in the context of this discussion.