Re:The not so hidden cost of sharing code between iOS and An...
by paulryanrogers on Wednesday August 14, 2019 @07:45PM
(#20701182)
How does that work out when things change over time: requirements and the platforms themselves?
[ Parent
| on HN ]
Re:The not so hidden cost of sharing code between iOS and An...
by dougk16 on Wednesday August 14, 2019 @09:22PM
(#20701762)
Basically the same process as when you first started. Implement the changes on Platform A, get it stable, port it over to Platform B, get it stable, port back any refinements to platform A. Platform changes themselves should ideally be quarantined behind said abstractions/injections, so your actual ported code is very simple and "timeless": no fancy language features, no preprocessor magic, no annotations, no excessive syntactic sugar.
Re:The not so hidden cost of sharing code between iOS and An...
by paulryanrogers on Thursday August 15, 2019 @10:37AM
(#20705586)
Approaches like this could increase the second-class-platform effect. Where, for example, Android gets updates long after IOS. (Unless both releases are synchronized.)
In theory the shared code approach means platforms could be tested in parallel.
Re:The not so hidden cost of sharing code between iOS and An...
by ufmace on Thursday August 15, 2019 @02:22PM
(#20708101)
The whole point of the post here is that the theory doesn't apply very well to modern mobile development, and trying to share code effectively slowed them way down.