This engineering principle is perfectly valid today, even when coding with AI.
"The difficult part is formulating an equation that takes into account all the conditions of a problem. The rest is simply an arithmetic problem." (Jules Verne, Around the Moon).
Without experience, you can't know all the conditions. And AI won't give you that.
I don't know about @skiptools . UI-IR is something I made up myself :D I've never encountered anything like this before. I've written about this before, sorry for the repetition. Initially, I tried LLVM-IR and other similar methods. After many attempts, I found this solution.
Now I have a struct, and with that struct, I can generate the view I want. All that remains is to generate the capabilities of the new platform from that UI-IR struct. For example, to translate SwiftUI code to Windows, it's enough to first convert it to Windows' WPF. Bingo! I get almost 100% success this way.
@YSBoomOfficial Actually, what made my job easier here was translating it into UI-IR. After translating the SwiftUI code into an intermediate language, I now have the ability to easily translate it to all platforms such as Android, Windows, Linux, etc.