News for hackers. Stuff that matters.
Re:Ask HN: Is it just me, or is CSS too damn hard? by zapzupnz on Tuesday January 29, 2019 @05:16AM (#19025201)
Then I guess my dream system marries the two concepts, somehow. I don't think we should accept CSS just because it's what we have; far too many people find it confusing and dislikable.

At this point, I'm starting to look into things that "transpile" to CSS.

Re:Ask HN: Is it just me, or is CSS too damn hard? by alexis_read on Wednesday January 30, 2019 @04:53AM (#19033856)
IMHO I think that one of the main problems with CSS is that it doesn't have an explicit model of text. If you have that, then a constraint-based designer can take you through wizards to ask to to consider eg. When there's more text than space. Springs, struts etc. Can take care of layout. Controversially I think we should replace/remove div tags as they don't make all their behavior explicit vs flexbox/ cssgrid etc. Every object should have explicit layout behaviors defined. Then you can compose them or create new objects for undefined cases.