We have myriad JVM languages to choose from already, but let’s pretend for an hour that we really, really need another one.
Kotlin is a statically-typed, general purpose language hosted on the JVM. It has some stand out features that make it a worthwhile entry in our toolset. It promises safe interoperability to the Java programmer and makes all the functional programming goodness we enjoy in Java8 available to Android developers.
We’ll look at its concise syntax, its functional capabilities and its interesting treatment of nullability by building a backend service in Kotlin. We’ll build our application with some frameworks and libraries we’re used to as Java programmers to show how the promise of interoperability actually plays out in practice.
We’ll also take a look at a mobile application built with Kotlin to see how Android developers can now enjoy the happiness that comes from type inference, null safety and, of course, lambdas.
Level: Intermediate
Gareth Fleming
Developer and trainer at Instil
Gareth Fleming is a developer and trainer at Instil, a software consultancy in Belfast, Northern Ireland. In his almost 20 years in the industry, he’s seen a lot of technologies promise lots only to die in obscurity. This has never dampened his enthusiasm for experimenting with The Next Big Thing whether it be a JVM-hosted language, a new editor or even, when paid enough, the next big Javascript framework.
Смотрите видео Methods Are No Fun – An Introduction to Kotlin - Gareth Fleming [DevCon 2016] онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Luminis 11 Май 2016. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 6,264 раз и оно понравилось 66 посетителям.