News for hackers. Stuff that matters.
Re:The - -var: ; hack to toggle multiple values with one cus... by franga2000 on Wednesday October 14, 2020 @09:14AM (#24776116)
I hate IE as much as the next guy, but PLEASE DO NOT DO THIS! s/IE/Firefox/g to see why.

Polyfills are available for most of the usual things and they're absolutely trivial to implement. No one is asking you for IE6 support (if they are, ignore them), but IE11 can do most things decently with minimal effort. As long as a browser is receiving mainstream support and the effort isn't too much, you should be at least minimally supporting it.

Re:The - -var: ; hack to toggle multiple values with one cus... by chrismorgan on Wednesday October 14, 2020 @05:50PM (#24782060)
I’m saying this specifically about a piece of obsolete technology. Firefox is in no way obsolete, so the comparison is entirely inapplicable.

Polyfills are available for most things but they’re not trivial, and they have a meaningful cost in two axes: developer effort, and performance. Things like CSS Flex, CSS Grid, SVG, and ECMAScript 6+ functionality can all be made to work in IE (with a few exceptions, like grid auto placement), but only by making things heavier, typically for everyone. Other things that are really nice to be able to depend on like CSS Custom Properties and more recent ECMAScript syntax (e.g. modules) either can’t be used outright, or require much more extensive working around which still restricts what you can do in all the other browsers.

Speaking as someone who has had to maintain IE11 support for a couple of things within the last few years, it seriously is a real drain that contributes more code, bugs (not just for the offending browser) and simple complexity than many realise.

IE is not receiving mainstream support. The effort is too much. You should either ignore it, or, if people are trying to get support on specific issues in it, strongly consider actively scuppering it.

IE is dead. Let it stay dead.