Live data from Hacker News

CSS is unnecessary given a layout language

pchiusano.github.io

11–20 of 183 posts

Re: CSS is unnecessary given a layout language

#11

I actually like CSS as it is now, and it's getting better ( cough , flexbox). Am I the only one who finds CSS incredibly hard to master, though? I've been writing CSS for years and I still feel like a newbie sometimes, and feel like I'm just tinkering with random attributes until it looks right.

> I've been writing CSS for years and I still feel like a newbie sometimes, and feel like I'm just tinkering with random attributes until it looks right.

This is exactly how I work with CSS too. Not surprisingly, it's my least favorite aspect of web development.

Re: CSS is unnecessary given a layout language

#12

I actually like CSS as it is now, and it's getting better ( cough , flexbox). Am I the only one who finds CSS incredibly hard to master, though? I've been writing CSS for years and I still feel like a newbie sometimes, and feel like I'm just tinkering with random attributes until it looks right.

For example. I've just found out about flexbox where up until now I thought I'd finally mastered position relative/absolute and floats in order to get nearly everything that I want.

Re: CSS is unnecessary given a layout language

#15

Does anyone think it'd be a good idea for browsers to support more than one toolset? Right now it's just HTML+CSS+JS, no matter what languages people build on top of that assembly. Elm seems like a neat idea, but based on Paul's post, I dislike the fact that it compiles down to CSS. It seems a disingenuous way to present the language. I'd much rather a browser was simply told this was an application/elm or something…

Browsers are struggling to support 1 toolset as-is. Imagine the message of multiple tool sets.

Browsers are only struggling because of how complex the toolset is and how poorly defined the expected results are.

There are plenty of counter-examples with simple standards and multiple implementations of a high degree of quality and interoperability.

Re: CSS is unnecessary given a layout language

#16

I actually like CSS as it is now, and it's getting better ( cough , flexbox). Am I the only one who finds CSS incredibly hard to master, though? I've been writing CSS for years and I still feel like a newbie sometimes, and feel like I'm just tinkering with random attributes until it looks right.

http://i.imgur.com/Q3cUg29.gif

Re: CSS is unnecessary given a layout language

#17

I actually like CSS as it is now, and it's getting better ( cough , flexbox). Am I the only one who finds CSS incredibly hard to master, though? I've been writing CSS for years and I still feel like a newbie sometimes, and feel like I'm just tinkering with random attributes until it looks right.

Suppose you want to create the largest possible square div inside the rectangle of another div. Any layout language that can't let me satisfy such a simple and obvious layout constraint is a travesty.

CSS will not let you do this, even with flexbox.

Re: CSS is unnecessary given a layout language

#18
post #14

I really like the point about designers learning to program. It got me thinking that eventually many/most professionals may need a basic grasp of programming. Then it dawned on me; why not teach EVERYONE basic programming in school?!

What about accounting? Most professionals need a basic grasp of accounting.

Re: CSS is unnecessary given a layout language

#19
post #18
post #14

I really like the point about designers learning to program. It got me thinking that eventually many/most professionals may need a basic grasp of programming. Then it dawned on me; why not teach EVERYONE basic programming in school?!

What about accounting? Most professionals need a basic grasp of accounting.

Accounting is not a language, programming is. You can create anything with programming.

Thats why it should be taught.

Edit: Care to elaborate why that comment should be downvoted?

Re: CSS is unnecessary given a layout language

#20

I actually like CSS as it is now, and it's getting better ( cough , flexbox). Am I the only one who finds CSS incredibly hard to master, though? I've been writing CSS for years and I still feel like a newbie sometimes, and feel like I'm just tinkering with random attributes until it looks right.

http://i.imgur.com/Q3cUg29.gif

First meme I've ever seen on hacker news. Please stop.
Post reply on HN