Kotlin: The Future of Android Development? [Video]
Kotlin: The Future of Android Development? [Video]
Kotlin can solve a lot of problems for Android developers. Check out this video for some thoughts on Kotlin's role in the future of Android development.
Join the DZone community and get the full member experience.Join For Free
Have you ever heard of Kotlin? Kotling has been picked as the official programming language for Android development.
From Maxim Shafirov at the Kotlin blog: “We believe this is a great step for Kotlin, and fantastic news for Android developers as well as the rest of our community. We’re thrilled with the opportunities this opens up.
For Android developers, Kotlin support is a chance to use a modern and powerful language, helping solve common headaches such as runtime exceptions and source code verbosity. Kotlin is easy to get started with and can be gradually introduced into existing projects, which means that your existing skills and technology investments are preserved.
Starting now, Android Studio 3.0 ships with Kotlin out of the box, meaning Android developers no longer need to install any extras or worry about compatibility. It also means that moving forward, you can rest assured that both JetBrains and Google will be supporting Android development in Kotlin.
In case you are concerned about other platforms that Kotlin supports (Kotlin/JVM for server and desktop, Kotlin/JS and Kotlin/Native), please be sure that they are as important for us as ever. Our vision here is to make Kotlin a uniform tool for end-to-end development of various applications bridging multiple platforms with the same language. This includes full-stack web applications, Android and iOS clients, embedded/IoT and much more.
Programming languages are just like human ones: the more people speak a language, the better. First-class support on Android will likely bring more users to Kotlin, and we expect the community to grow significantly. This means more libraries and tools developed in/for Kotlin, more experience shared, more Kotlin job offerings, more learning materials published, and so on. We are excited to see the Kotlin ecosystem flourish!
We will be partnering with Google to create a non-profit foundation for Kotlin. Language development will continue to be sponsored by JetBrains, and the Kotlin team (over 40 people and second largest team at the company) will operate as usual. Andrey Breslav remains the Lead Language Designer, and Kotlin will be developed under the same principles as before. We’ll keep our design processes open because your feedback is critical for us in moving Kotlin in the right direction.
If you’re at Google I/O, make sure you stop by one of the Kotlin talks on the schedule. And of course, don’t forget to register for KotlinConf in San Francisco in November. It will be an amazing event!” (source).
So… Is this the future of Android development? Watch this video and find out!
Transcript of the Video
Hey, what's up? John Sonmez here from simpleprogrammer.com. Tired of pushy recruiters sending you LinkedIn requests for jobs you have no interest in? Tired of blasting out resumes into the dark? If so, you should check out Hired.com. Hired.com flips job searching on its head by having top employers like Facebook come to you after you fill out one simple application. You also get your own job coach to help you on your next job search. If you haven't checked it out, I highly recommend you at least fill out the application. Just go to Hired.com/simpleprogrammer. When you get hired with Hired, you'll get double the normal sign-on bonus for using that link.
Today, I'm going to answer a question that a lot of you have been asking for a long time that you want me to do and answer on that—I hate to do these kinds of answers because I hate to give like a real technical opinion on things because things are going to change. I'd rather give profound wisdom that lasts through the ages, but I will do it. I will indulge you for now and I will talk about Kotlin. Kotlin. I'm going to say both ways so that whichever way I say it someone's going to be offended. Kotlin, the new language. Not necessarily new language but the new language that Google has embraced for Android. I've got a lot of questions on this, and Kotlin or Java, what is the future of Android development?
This question is from Kevin and he says, “Hi, John. I'm Kevin. I got my Bachelor's degree in Software Engineering last year and I'm trying to master mobile development. I heard that Google is now trying to promote their brand new language Kotlin” Kotlin. I don’t know. Give me the pronunciation. “As the de facto standard for Android development. This confuses me a lot. Does it mean that Java is on its way to the trash as far as Android is concerned? Should experienced Android developer start learning Kotlin and prepare to drop Java? Yours sincerely, Kevin.”
A couple of things here. Let's look at iOS right now. Let's look at Swift versus Objective-C. Objective-C is definitely still out there. Apple is still supporting Objective-C. They're pushing Swift. Similar thing has happened there. There's plenty of Objective-C developers out there. There's plenty of iOS apps that are out there that are written in Objective-C that will continue to be maintained in Objective-C. Every time I talk to an iOS developer and I say, “Oh, hey. Are you just working in Swift?” they're like, “Yeah. I'd like to work in Swift and I do some stuff in Swift, but I do a lot more Objective-C development.” That's what they tell me. I've talked to a lot of iOS developers.
Now, maybe that's not the case for you if you just came in iOS development and you just started on Swift. In a lot of cases, that's true. Heck, I did a video on Cobol. Check out the video on Cobol and there's a lot of people still using Cobol, and there are some people that actually replied to that video and are like, “John, you're an idiot. Cobol is only going to grow.” They might be right about both. Maybe Cobol is still going to grow. I tend to think it's going to die off, but who knows. It might take a long, long time before it does die off.
With that said, if I were an Android developer today, I would be going full speed on Kotlin. By the way, it's not Google's language. Google adopted it, but I believe that—is it Atlassian that created it or—no, no, no. The company that does that IDE. Is it JetBrains? I don’t know. I can't remember now, but I'll have to look it up. I'm obviously not in a computer right now. I'm out here enjoying the beautiful sun in San Diego. Here's the thing. I would—it does appear that Google is doing the same thing that Apple did, which is to push this language and I think it's going to be better for development. From everything I can gather, Kotlin seems like a really good language for Android development. I haven't spent a lot of time using it, but I've played around with it. There's a nice interactive tutorial online like it seems like they've made it really easy to use. There are some frustrations in doing Android development in Java that I've discovered that it seems like Kotlin has addressed. I like that but you got to look at—you know, I mean Google is definitely controlling the Android space. If they're pushing this, there's probably a good reason. It probably makes sense and just with all the hype I've seen and all the people that like Kotlin, it's a good bet.
I don't think it's going to die off. I don't think it's a bad bet, but at the same time, like I said, if you're a Java developer and you're like, “Oh, I got to switch to Kotlin,” that's not true like you're going to be able to do Android development in Java, my prediction is at least for the next five years. Right? I don’t think that's going away anytime soon. There's too much written out there. Too much code out there already. I mean it might last for the next 20 years. Who knows? There's too much out there already that's written in Java for you to think that it's just going to go away. I wouldn't worry about it. I wouldn't be afraid of going into Kotlin either. If I were starting out, I would just start out with Kotlin for the Android development. Yeah.
Think about it and see where you're at, and maybe you learn some Kotlin and maybe you—if you like it, you go that direction if you're already a Java developer. I don’t freak out here. I don't panic. I don’t say, “Oh, crap. My world is coming to an end and I have to learn Kotlin.” I mean if it happens and you do have to learn Kotlin—remember this also because I've done a lot of mobile development. I've done iOS and Android development, and Windows phone development. The big thing with mobile development is not the language. It's the platform. It's the frameworks. If you understand how the components and the views, and the fragments and all that stuff works in Android, it doesn’t matter what language you're programming in. The key thing is that.
All right. That's all I got to say about that. If you like this video, if you haven't subscribed already, make sure you click that Subscribe button below and click the bell, for goodness sakes, so you don't miss a video. YouTube is screwing with me and they don't show you all the videos that come out. I do about one video. Well, okay. I do about two videos a day. I will spam you with a bunch of videos, but it will be worth it. I promise. You can always unsubscribe. I'll talk to you later.
Published at DZone with permission of John Sonmez . See the original article here.
Opinions expressed by DZone contributors are their own.