top | item 27780905

(no title)

optimusclimb | 4 years ago

This is why I knew how to be a frontend engineer at one point in life but never pursued it past the early 2000s.

The brainpower wasted on web layout is immense.

discuss

order

ahoy|4 years ago

This is how I know you haven't touched CSS since the early 2000s - the bad old days are gone, flex and grid have been here for years and years.

system2|4 years ago

Responsive design did this. Early 2000s there was only 1024 x 768px or a little above maybe.

skhr0680|4 years ago

The quest for equal height columns and people thinking “how hard can it possibly be to vertically center a div?” predate responsive design

mananaysiempre|4 years ago

I’m not sure it’s a waste. Yes, CSS layout is complex, bordering on stupidly complex. But I’m not aware of any other reflowable layout system of comparable power. The sheer amount of pain it takes to wrangle something like CSS floats out of TeX—on a fixed-size page!—certainly makes me appreciate just how difficult the problems CSS solves are.

Though it sure would be nice if people were exploring other approaches to reflowable layout without tying themselves to CSS and modern browsers’ codebases.

seumars|4 years ago

CSS grid and flexbox have resolved most of those issues though.

FractalHQ|4 years ago

What about UI development is a waste?

throwaaskjdfh|4 years ago

When you want to do something simple but you have to bring the entire philosophy of CSS into consideration to figure out what the right way to do it is.

blacktriangle|4 years ago

Doing it in browser. Android, iOS, native macOS apps, QT, none of them have the insanity of layout that is CSS. I bet most other frameworks don't as well, but those are the 4 I'm familiar with. CSS is the odd man out when it comes to being utter shit at layout, and yes that is including flexbox and grid.

eyelovewe|4 years ago

That you have to redo it all the time, as in kitchen remodels.

Blame it on folks outside of dev? I would ban the word “modern” if possible. Everyone thinks that it’s obvious but no one seems to be able to define it once and for all, lol

RugnirViking|4 years ago

the amount of blood sweat and tears spent trying to center something before flexbox