CSS

Last month I went to CSS Day in Amsterdam, as an attendee this year, not a speaker. It was an excellent conference comprising the titular CSS day and a Browser API Special the day before.

By the end of CSS Day, my brain was full. Experiencing the depth of knowledge that’s contained in CSS now made me appreciate how powerful a language it is. I mean, the basics of CSS—selectors, properties, and values—can be grasped in a day. But you can spend a lifetime trying to master the details. Heck, you could spend a lifetime trying to master just one part of CSS, like layout, or text. And there would always be more to learn.

Unlike a programming language that requires knowledge of loops, variables, and other concepts, CSS is pretty easy to pick up. Maybe it’s because of this that it has gained the reputation of being simple. It is simple in the sense of “not complex”, but that doesn’t mean it’s easy. Mistaking “simple” for “easy” will only lead to heartache.

I think that’s what’s happened with some programmers coming to CSS for the first time. They’ve heard it’s simple, so they assume it’s easy. But then when they try to use it, it doesn’t work. It must be the fault of the language, because they know that they are smart, and this is supposed to be easy. So they blame the language. They say it’s broken. And so they try to “fix” it by making it conform to a more programmatic way of thinking.

I can’t help but think that they would be less frustrated if they would accept that CSS is not easy. Simple, yes, but not easy. Using CSS at scale has a learning curve, just like any powerful technology. The way to deal with that is not to hammer the technology into a different shape, but to get to know it, understand it, and respect it.

Have you published a response to this? :

Responses

R+

CSS by Jeremy Keith 2017-07-18adactio.com/journal/12571#f2etw 「Simple, yes, but not easy.」 作者在 CSS Day 後的想法: 你能一天內快速地理解基本結構,但也可以花一輩子去掌握細節

# Posted by R+ on Wednesday, July 19th, 2017 at 8:34am

1 Share

# Shared by Chris Taylor on Tuesday, July 18th, 2017 at 6:09pm

Previously on this day

14 years ago I wrote Analogue Inception

The power of dreams.

17 years ago I wrote Mashed

OpenID and microformats, two great flavours that taste great together.

19 years ago I wrote May the Task Force be with you

It is with great pleasure that I direct your attention to the latest press release from the Web Standards Project:

21 years ago I wrote T68i Bluetooth GPRS Bluetooth connection with OS X on Orange

Please excuse the unwieldy title for this entry but I want to make sure that Google can point other souls in the direction of the helpful advice I am about to dispense.

22 years ago I wrote Ellen Feiss

"One more thing", said Steve Jobs as he wound down his keynote speech at the Mac Expo in New York. "Apple are pleased to announce the start of their new online service called ‘Am I Stoned Or Not?’".