DEV Community

Discussion on: Reasons developers avoid CSS

Collapse
 
kylefilegriffin profile image
Kyle Griffin

Everytime someone says that CSS is not a language, I seethe. CSS contains logic, it has rules, it can be extended, it can be minimized for efficiently and enqueued. It can even output html content and accomplish effects and DOM manipulation that we used to rely solely on Javascript to do. It even cooperates with the browser it's on to provide a dark mode wrapper if people want to do that.

Every year CSS is becoming more and more logical and it's not easy to master at all. To say that it's not a language clearly have misdefined what a language is.

This was not directed at you Seth as you know what you're talking about. But I feel that discussions where people need to take sides and divide the community, is partly why some people would argue that frontend development has some of the most toxic people in tech. Because people use this "it's not a language" argument to dismiss other developers who excel in CSS.

Collapse
 
darthknoppix profile image
Seth Corker

I agree with you wholeheartedly, I'm fairly proficient at CSS and I enjoy it but what I wrote about was the perception of CSS that I've encountered.

I want to encourage an open discussion on the reasons why CSS has a stigma and try to overcome it. I often hear division between various communities. At meetups/talks/events/discussions I hear comments like:

At least it's not JavaScript
Two backend devs talking

This developer writes PHP, he's old so of course he would
directly said to me

Who cares about the design, just use bootstrap and be done with it
an offhand joke at a talk

You're right in saying that CSS is a legitimate language which is powerful on the web, it's a shame it's often overlooked. I've often had to dissuade colleagues from writing something in JS that can easily be achieved with HTML and/or CSS alone. I think this comes down to a gap in knowledge and I've outlined some of the reasons why I think some developers prefer to forgo learning about CSS.

In your experience, have you encountered resistance to learning CSS?