Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tl;dr: Entire article is nothing but 'relying on js is bad'.

Author discounts modernized entirely because it only works with javascript. Suggests you can replace it entirely by tagging your html tag with an ie class using conditional comments (thereby relying on browser sniffing, after arguing that browser sniffing is terrible and doomed to fail) and the cascade in stylesheets.

I'm not convinced this gives a fair shake to the difficulty of getting graceful degredation right with just the cascade, and any author that says 'x is bad' then relies on x is clearly presenting an incomplete argument.



A clarification: conditional comments are a feature of IE, and thus are stable and reliable, and aren't technically browser "sniffing", at least in the traditional sense.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: