DEV Community

Discussion on: What if CSS was imperative?

Collapse
 
ctannerweb profile image
Cory Tanner

From my experience the lack of interest/understanding of CSS comes from developer convenience. How many JS developers are on a dev team compared to CSS devs? 9 times out of 10 you will be lucky to find a CSS developer.

As a result the JS developers will want to write solutions in a language that is fluent to them. Resulting in lazy CSS solutions, CSS solutions that fill the lack of knowledge (CSS in JS). But 9 times out of 10 these CSS solutions are taxing the user in favor of developer convenience. As a whole I hope web developers can go back to a HTML/CSS first approach. If you can't build something with HTML/CSS then you introduce JS, not JS for everything.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

I couldn't agree more.

Cory Tanner 2020!

Collapse
 
ctannerweb profile image
Cory Tanner

haha thank you. My first order when in office will be to have every developer look up a packages weight via bundlephobia.com/ before they add it into their project. Then justify the weight of the package. :)