This week's question is from
Deepak:
Would you rewrite UIKit to SwiftUI or keep it in place?
Rewriting existing code is a trending topic. Whether it’s rewriting UIKit to SwiftUI or closures to async/await, it takes time and feels unnecessary since the code works.
It’s not realistic to spend time rewriting all your existing logic to a new technology. It’s smarter to rewrite code when you’re going to add new features to it.
Similarly, try to prevent adding extra technical debt. Write new UI logic using SwiftUI, new features using async/await, and soon: new tests using Swift Testing.
Want to have your question answered next week? Ask your question on LinkedIn or Twitter.