3 ms·
It can do that, but it can also mean that you can't use better performing ways to do things that were only introduced in a newer OS.
by FinnKuhn 3y ago
It can do that, but it can also mean that you can't use better performing ways to do things that were only introduced in a newer OS.
- Narishma 3y agoYou can if you have fallbacks for when those features aren't available.
- CJefferson 3y agoBut why have fallbacks for unsupported OSes, which are hard to even test (as the OSes themselves probably shouldn’t be attached to the internet due to possible security issues).
- comex 3y agoTrue, but that tends to require a bunch of extra code, and adds complexity since now you have two different paths to test. Which is manageable, but definitely cuts against the goal of keeping the project “light”. (Of course, it depends on the feature and the language/environment you’re using. Sometimes the fallback is trivial, or can be neatly encapsulated in a third-party polyfill you never have to look at.)
- npteljes 3y agoNow that is the part where it doesn't make the project lighter.