Hacker News new | ask | show | jobs
by gherkinnn 1376 days ago
Separating which concerns?
1 comments

I guess software is like your cutlery drawer. You want to keep your knives, forks and spoons separate.
True. I like keeping my knives, forks, and spoons separate.

Alternatively, try organising your cutlery by "implement" and "handle". Surely, separating what goes in your mouth from what your grubby hands touch is the right thing to do. The two concerns that should be kept separate!

To push this analogy over the edge, the former is how I see JSX. And my admittedly facetious proposal is how I view the "classical" approach of strict HTML|CSS|JS separation.

Which poses the question: after seven+ years of JSX and it having become the most prominent approach to building UIs, can the "classical"way even be called that anymore?