DEV Community


Discussion on: CSS in JS - have we done something wrong?

brandinchiu profile image
Brandin Chiu

In our pursuit of abstracting the web, we've definitely strayed far from the path.

The original point of being able to write Javascript and run it everywhere was to provide simplicity. We are trending in the opposite direction now.

Programming and computer science really haven't changed that much, but we've forgotten some of the old tried-and-tested rules on building effective solutions.

Two that come to mind immediately are KISS (keep it simple, stupid), and SRP (single responsibility principle).

We're breaking long standing rules in order to massage JS into doing things it really was never designed to do.

The technical debt is piling up.

tkdmzq profile image

I feel the same way when I as programing newbe sees js everywhere. I always thought that every language had it's own up and down sides and usage depends on context.