DEV Community

Discussion on: Is CSS an Object-Oriented Programming Language?

Collapse
 
sksallaj profile image
Sultan Sallaj

People have a problem trying to attack the concept because people bought so deeply into the concept of OOP and not the actual programming. There is no programming in CSS, like there is no concept of variables or functions - that's the programming part. What CSS can do is mimic how variables work - like creating 8,16, or 32 bit registers, and creating how functions work by utilizing html events. Is it scalable? Not for business logic. It's super amazing for the presentation of any html framework. That's why seeing applications built by html and css looks magical, but lets see them carry the business load of requirement revisions. There's no way code like that can be copied and pasted without some sort of architectural consideration.