Ask HN: Write once, run anywhere front ends failed. Thoughts? I think the idea of one programming language everywhere has sailed, for a while at least. It looked like JavaScript was going to be able to do it. React and React Native were very promising. But since we now have Swift/SwiftUI and Kotlin/Jetpack, each platform has a language and framework specifically tailored for it. Except for Windows which is still a shit show. Attempts to abstract this in a cross-platform layer are becoming more and more difficult, and offering less marginal value (e.g. we now have declarative frameworks natively whereas before we only had React). Each platform has a recommended way to do everything, and we should follow the conventions of each platform. I would be interested to hear if anyone has actually had successful though with frontend code sharing... |