d4n3
Joined 15 years ago
Joined 15 years ago
I couldn't agree more. I know a lot of developers that have the mentality to just accept what they are offered without negotiating. It's up to you to get a good price for the value you bring to the company. Negotiation is the best way to significantly increase your salary, regardless of your technical skills.
Patio said it best: http://www.kalzumeus.com/2012/01/23/salary-negotiation/
So for primes, you have a circle of groups of 1.
If there was a way to target n-th letter in css, you could also get the full plaintext of an element with a huge number of font-face / selector combinations
Most of the !important uses I've seen are more due to "Why doesn't this work? Dunno, I'll just put !important on it.."
Since !important only applies to a specific property, it's not that useful for making structured CSS components, and makes it harder to override (using !important again on every property)
I can't think of many cases where using !important would be better than overriding with specificity. Maybe when using 3rd party styles or making styles that are embedded in an external page (e.g. widgets).
I'd say it's the other way around - a lot of usages of !important are due to lack of understanding of CSS specificity, usually as a symptom of something else like using IDs in selectors..
If you avoid using IDs in selectors and avoid deep nesting of classes, then overriding styles works as you expect - apply a more specific selector to override the style.
Selector order only comes in to play rarely, and you can structure your files to start with less specific (base) styles first.
I see !important as more of a workaround than a solution, and I don't think it is used as it was originally intended.
Even though keys help here, render is still called for every image every time and then diffed.
He'd have to extract the image divs to a component and put PureRenderMixin on it so that the component's render is skipped altogether.
So unlockable DLC and removable ads are fine, but endless pay-to-win consumables aren't.
Sorting by number of reviews would be great - it's a better indicator of popularity than the review score