3 ms·
I have a problem with this, as it appears to break the separation of concerns. Don't the programing guru's tell us over and over NOT to mix markup into code an
by beernutz 15y ago
I have a problem with this, as it appears to break the separation of concerns.
Don't the programing guru's tell us over and over NOT to mix markup into code and vice-versa?
- loungin 15y agoI'm with you. CSS for looks, JS for logic, HTML for structure. And the whole strategy goes down the crapper with NoScript & RequestPolicy for the most part unless I find it worth explicitly allowing them.
- emilis_info 15y agoTry for yourself. What the guru's tell you is a heuristic. When this heuristic fails, you waste lots of time mangling data to fit it into dumb markup instead of writing a simple loop with a couple of ifs.