Re:9 years of Apple text editor solo dev
by realusername on Friday January 05, 2024 @08:05AM
(#38878648)
JS, as bad as it might be is close to 100% backward compatible, your project will work forever on newer browsers, that can't be said for Apple.
[ Parent
| on HN ]
Re:9 years of Apple text editor solo dev
by internetter on Friday January 05, 2024 @08:22AM
(#38878775)
Also goes in the other way. We can literally only support iOS 17 because we’re using SwiftUI and Apple refuses to backport anything, whereas in JavaScript you can generally use new APIs while either gracefully failing or triggering a fallback
Re:9 years of Apple text editor solo dev
by throwaway66201 on Friday January 05, 2024 @12:31PM
(#38881829)
That's because of the dynamic nature of JavaScript, you could do that in Swift too but that'd be a lot of dynamic dispatch for a static language...