Hacker News new | ask | show | jobs
by beernutz 5236 days 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?

2 comments

Try 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.

I'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.