Hacker News new | ask | show | jobs
by kapowaz 4900 days ago
> I've never seen selector performance used as an argument for OOCSS.

Harry Roberts is one of the most vociferous proponents of OOCSS, and he has written about it a few times, notably here: http://csswizardry.com/2011/09/writing-efficient-css-selecto...

> That's a pretty broad sweeping statement that I think you'd be very hard pressed to back up.

I'll admit it's an opinionated statement, but I don't think that in itself makes it invalid. Opinions are certainly divided when it comes to how to structure CSS selectors, and I am firmly in the camp that OOCSS is bad stuff.

I've had a half-baked article on the whys of an alternative structure to OOCSS drafted for about 18 months now, so I guess it might be time to dust it down and fully write it up.