Remix.run Logo
quotemstr 4 days ago

Here we go. Let's spin the wheel of front-end framework fortune once again. The article correctly identifies that CSS isn't the problem, but just giving up on elegance is premature.

IME, CSS is actually _just fine_ and would do as well as anything else at the job. The real problems arise from:

- People just not being aware of the affordances of modern CSS (like nested selectors, variables, fancy grid layout stuff, etc.). Of course CSS is going is suck if you insist on living with CSS3 like it's 1998.

- Inherent domain contradictions. "I want isolated styling!" "I want consistent theming!" and like the dog in the "no take, only throw!" meme, "I don't want interfaces. I want my styling to be isolated except when I don't want it to be!"

CSS is actually pretty elegant. We should be using declarative, composable configuration (e.g. CUE) in other domains too.

fkyoureadthedoc 4 days ago | parent | next [-]

You know, none of the mobile developers I work with ever complain about layout and styling. I rarely see fussing about it online either. Makes me think there is indeed something better out there.

skydhash 3 days ago | parent | next [-]

If people were actually creating applications, you would see less fussing on the web too. CSS is fine and you can always use a framework like bootstrap or bulma. But they want to reinvent every thing under the sun to make their custom widgets.

owebmaster 3 days ago | parent | prev [-]

Ask that mobile developer to deploy to different OSes, desktop, wide-screen and you'll find out

fkyoureadthedoc 3 days ago | parent [-]

Seems pretty common in mobile dev, the iPad is hugely popular and widescreen. Many apps also run on Mac desktop.

owebmaster 3 days ago | parent [-]

That would amount to a total of 25% of the devices connected to the internet.

fkyoureadthedoc 3 days ago | parent [-]

I have no idea what point you're trying to make here

owebmaster 3 days ago | parent [-]

It's easy to do layout right for such a small subset of the market.

fkyoureadthedoc 2 days ago | parent [-]

Not only does that not make any sense in the context of this discussion, "it's easy to do layout right for 1 billion devices instead of 4 billion" isn't a very compelling argument.

owebmaster 2 days ago | parent [-]

Oh my. Yeah. Your app working only on 1/4 of the devices in place of 100% is not compelling. What a waste of time.

fkyoureadthedoc a day ago | parent [-]

First you said a mobile app developer doesn't have to worry about various screen sizes. But Android devices come in a ton of sizes and form factors. iPad apps are windowed and resizable, and a native Mac app runs on a system that connects to a monitor of arbitrary size.

So give that point was completely bunk, you changed it to something about the total number of internet connected devices. I have absolutely no clue why that is relevant, and you haven't explained why it is either.

robertlagrant 4 days ago | parent | prev [-]

Aren't we still using CSS3?

3 days ago | parent [-]
[deleted]