Recent submissions

Comment · 6 months ago
> Because many web sites and apps aren't as simple as "my first homepage" and don't only consist of first-party code.

CSS is there to style HTML tags. Yes, your complex webb app is dealing with a lot of third party code and whatnot... but CSS is just there to style your HTML tags. Why is it so hard to get that?

Comment · 6 months ago
The point is, comparing CSS selectors to the functions or variables in other programming languages is silly, cause guess what... CSS actually has functions and variables!
Comment · 6 months ago
So in your head, the analogy is not a big part of the argument? I'd accept your congrats, but I really have not earned it. The whole idea of comparing CSS to general purpose, Turing complete programming languages is surprisingly stupid. CSS has a very specific, narrow goal: styling HTML elements.
Comment · 6 months ago
> Selectors are a global namespace. Imagine if every variable and function in your favorite programming languages were global and so had to be unique.

A selector is not not a variable or a function. CSS has functions (e.g translate) and it has variables, which are both distinct concepts in the language from selectors.

> No modules or namespaces. CSS is not supposed to be a turing complete general purpose programming language. Why would you need namespaces and modules to style up HTML tags?

Comment · 7 months ago
> It is AI generated, then we would loose trust in that person

You are assuming that only you can generate fake AI videos of yourself.

Comment · 8 months ago
Sorry but you're mixing up terms. A "web component library" would be something not compete with React, because React is a web component framework. The frameworks is whats used to build the component libraries e.g I think material design has one built on top of React.
Comment · 8 months ago
> in which case you're limited to what that framework provides (and it won't be as robust as any non-wc framework).

Is there something inherently wrong with wc that stops robust frameworks being built on top of it? Have you tried actual framworks built on wc like Lit for example.

Comment · 9 months ago
The question wasn't about which is harder, it was asking for proof.
Comment · 9 months ago
Do you exist?
Comment · 9 months ago
> maybe some things lie outside of the purview of empiricism and materialism

Maybe? So your whole premise is based on a maybe! It was a simple question, don't know where or how morality and behavior comes into play..

Comment · 9 months ago
Has it been proven that it "likely isn't real"?
Comment · 10 months ago
Comment · 10 months ago
Thats correct. Computer language is the top category. Markup and Programming languages are subcategories.
Comment · 10 months ago
> CSS also sucks because 10px isn't 10 pixels, 10cm isn't 10 centimeters, and 50% isn't 50% of the screen.

This really isn't about CSS, it's about screen hardware - and the thousands of constantly evolving products in the market.

Comment · 10 months ago
With the actual layout models, I see it more of an evolution thing. For someone starting on CSS today, you do not have to learn all 8 now if you don't want to, just master the grid. It was designed to be the last one to rule them all.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton