Programming languages, in reality, are exactly what they claim to be, programming languages. Like any other language, it serves to communicate, in this case, with machines. And the new languages that are released are released in order to make it easier for the programmer to create their applications. In the case of Swift, we are talking about a programming language created to develop mobile apps. Java is a much older programming language, and although many users know it very well, the truth is that it is not as easy to use and learn as it is with Swift. All of this could have led Google to consider using Swift as Android’s top-tier programming language, even though it is a language created by Apple.
Actually, it makes sense. As much as it has been created by the competition, the objective would be the same, to develop mobile apps. Swift is a much more intuitive programming language, and much simpler for those starting out in the world of programming now. And best of all, Apple turned it into an Open-Source programming language, thanks to which other companies can use it, and can even contribute to improve it. Lots of features make it the perfect language for any mobile operating system, and Android as such could be one of those perfect operating systems to host Swift as its primary programming language.
Goodbye to Windows Phone
But this would also have a relevance that would go beyond simply improving and facilitating the development of apps for Android. IOS and Android generally look like rival operating systems, but let’s not forget that the fact that both operating systems are almost the only two mobile operating systems is something that greatly benefits them. If in addition to this, the two started to have the same programming language, the rest of mobile operating systems would be completely ruled out for developers. Why? Because a developer would only have to learn to program in Swift to later adapt their apps definitively to Android mobiles and iOS mobiles. In other words, Windows Phone would be even closer to death. If you already receive many fewer apps than Android and iOS, now very few developers would be interested in Windows Phone. Not only due to the fact that it has a very low user quota, but also because it would be much more complex to learn to develop for Windows Phone than for iOS and Android.
From iOS to Android
Lastly, using Swift as the main programming language for Android would have another advantage. We have always said that high-end professional apps arrive earlier on iOS than on Android. That has been changing, and it is no longer quite like that, but it still happens with some applications. With a common programming language, it would be much easier for users to launch apps simultaneously on iOS and Android. That does not mean that the apps will have exactly the same code, no, but it does mean that the knowledge that an Android app developer and an iOS app developer would have to have would be very similar. The learning process with the programming language would lead them to be able to launch apps for both operating systems, and that is something very positive for Android to cut ground when it comes to professional apps.
Of course, Java is not going to stop being the main programming language of Android. That will still take some time. Android would have to add new libraries to work with Swift, and a compiler for this programming language. It would be a great revolution and a complete bombshell, but it is still ironic that Apple’s Swift could become the great revolution that had to reach the world of Android apps.