Poll: should CSS become more like a programming language?

Default avatar.
November 04, 2016
Poll: should CSS become more like a programming language?.
I’ve made no secret of my love for LESS. It was my first CSS pre-processor, and still my favorite, even as pragmatism pushes me towards SASS. The addition of variables, mixins, selector nesting, and advanced calculations to CSS just blew my mind. And while the enhanced versatility and ease of writing CSS was much appreciated, I was especially excited about the potential for the increased separation of content from presentation. That was the purpose of CSS from the very beginning, and it’s a cause I can believe in. Content may be the most important part of the design, but you shouldn’t have to code it that way. I remember the days of table layouts, and they were dark. Now, at long last, developers have discovered CSS too. (I’m mostly kidding...) They have brought many valuable contributions — like the aforementioned preprocessors — and raised a few issues of their own. Many feel that CSS isn’t object-oriented enough, or even just generally programmer-friendly enough. They’ve addressed this issue with frameworks, tools, and even the occasional library for defining CSS rules in JavaScript. Okay, most of those were made as a joke. Still, it’s a bit of a trend. There is a movement, though not an organized one (that I know of), to make CSS look a whole lot more like a programming language. And I’m talking about basic CSS, with no preprocessors involved. This would, in many ways, increase CSS’ potential massively. It could also result in less CSS needing to be written. On the downside, I’m bad at programming, and a lot of other designers are too. Also, what we gain in smaller file sizes could be mitigated by the increase in computing power needed to render the results of that CSS. It would all come down to whether the programming-related features complement or replace the current layout and styling aspects of CSS. So, what do you think?

Ezequiel Bruni

Ezequiel Bruni is a web/UX designer, blogger, and aspiring photographer living in Mexico. When he’s not up to his finely-chiselled ears in wire-frames and front-end code, or ranting about the same, he indulges in beer, pizza, fantasy novels, and stand-up comedy.

Read Next

LimeWire Developer APIs Herald a New Era of AI Integration

Generative AI is a fascinating technology. Far from the design killer some people feared, it is an empowering and…

20 Best New Websites, March 2024

Welcome to our pick of sites for March. This month’s collection tends towards the simple and clean, which goes to show…

Exciting New Tools for Designers, March 2024

The fast-paced world of design never stops turning, and staying ahead of the curve is essential for creatives. As…

Web Tech Trends to Watch in 2024 and Beyond

It hardly seems possible given the radical transformations we’ve seen over the last few decades, but the web design…

6 Best AI Productivity Apps in 2024

There’s no escaping it: if you want to be successful, you need to be productive. The more you work, the more you…

3 Essential Design Trends, February 2024

From atypical typefaces to neutral colors to unusual user patterns, there are plenty of new website design trends to…

Surviving the Leap from College to Real-World Design

So, you’ve finished college and are ready to showcase your design skills to the world. This is a pivotal moment that…

20 Mind-Bending Illusions That Will Make You Question Reality

Mind-bending videos. Divisive Images. Eye-straining visuals. This list of optical illusions has it all. Join us as we…

15 Best New Fonts, February 2024

Welcome to February’s roundup of the best new fonts for designers. This month’s compilation includes some innovative…

The 10 Best WordPress Quiz Plugins in 2024

Whether it’s boosting your organic search visibility or collecting data for targeted email marketing campaigns, a great…

20 Best New Websites, February 2024

It’s almost Valentine’s Day, so this latest collection is a billet-doux celebrating the best of the web this month.

Everything You Need to Know About Image Formats In 2024

Always trying to walk the tightrope between image quality and file size? Looking to branch out from JPGs and PNGs this…