5 ms·
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 e
by quotemstr 1y 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 1y agoYou 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 1y agoIf 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 1y agoAsk that mobile developer to deploy to different OSes, desktop, wide-screen and you'll find out
- fkyoureadthedoc 1y agoSeems pretty common in mobile dev, the iPad is hugely popular and widescreen. Many apps also run on Mac desktop.
- owebmaster 1y agoThat would amount to a total of 25% of the devices connected to the internet.
- fkyoureadthedoc 1y agoI have no idea what point you're trying to make here
- owebmaster 1y agoIt's easy to do layout right for such a small subset of the market.
- fkyoureadthedoc 1y agoNot 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 1y agoOh 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 1y agoFirst 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 1y agoAren't we still using CSS3?
- deleted 1y ago[deleted]