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...
Comments URL: https://news.ycombinator.com/item?id=37794402
Points: 5
# Comments: 4
from Hacker News: Newest https://ift.tt/hl9YG12
via
IFTTT