▲ | skydhash 2 days ago | ||||||||||||||||
> Because however hard you pretend they are separated, they never are. That would hold true for whatever systems. The pretention is just for making it easier to do the job without extraneous effort. Cascading is a nice pattern for applying properties in the case of a document. JS was originally intended for scripting (not for full-blown application) and the DOM API works fine for that. Without that, we would have to put everything in HTML or have something like Flash. | |||||||||||||||||
▲ | troupo 2 days ago | parent [-] | ||||||||||||||||
> That would hold true for whatever systems. Remember how you started with how every UI system and framework was somehow this separtaion of style and presentation and structure and interactivity? And now it's "they are never separated, and this holds true for whatever systems" > The pretention is just for making it easier to do the job without extraneous effort. In reality there's a lot of extraneous effort especially when systems become more complex. BEM was invented not because CSS was great and amazing at reducing effort, but because it was adding a great amount of effort for a very large number of designs. CSS Scoping was finally, thankfully, added not because cascading nature of CSS reduces a lot of effort. The rest of your comment has nothing to do with what I said. | |||||||||||||||||
|