DEV Community

Discussion on: So, how many of you respect CSS as a programming language?

Collapse
anilsansak profile image
Yaşar Anıl Sansak

If I am not wrong the technologies you list uses the CSS rules. So, isn't it the same thing? I might be completely wrong here and if I am, I would like to correct myself.

Thread Thread
kieran815 profile image
Kieran815

right. all .style does is allow js to read css. Same for styled components for react.

Thread Thread
urielbitton profile image
Uriel Bitton

No. Again wrong, please read my comment. Not all technologies compiles to css. React native's styling is one example, another is flutter. Many mobile development technologies cannot use css for styling as they are not html based (or for other reasons). They use their own styling technology.

Thread Thread
afif profile image
Temani Afif

@urielbitton If you will not run it in a browser then logically you won't use HTML/CSS, this is trivial. CSS will not style everything. Here it's about front-end dev which is closely related to browser.

My point was that if you are going to deal with CSS then it's CSS, you don't have another choice. You can change your backend language, the Database, etc but you have no alternative to CSS. Using another technologie is another story. If you will do Robotic then you won't need CSS which is trivial. I never said CSS is everywhere.