4 ms·
There has never been any separation of concern in web development. Just because you put your scripts, HTML and CSS in different files doesn't mean they are sepa
by Kiro 6y ago
There has never been any separation of concern in web development. Just because you put your scripts, HTML and CSS in different files doesn't mean they are separated.
- wackget 6y agoIsn't that the definition of separated? If you want to edit content or markup, you open the HTML file. If you want to edit business logic, open PHP or JS. And so on.
- ng12 6y agoYeah but then your JavaScript spews out unholy tendrils that mutate the DOM and dynamically add/remove CSS classes and style attributes. Separating HTML/CSS/JS made a lot of sense for web sites but separating by component makes more sense for web applications.
- wes-k 6y agoThey are still tightly coupled.