* A book containing examples and explanations of examples* For beginners, there is a special section for professionals* It brings you more and more understandingAt the I / O 2017 conference, Google announced its support for the Kotlin programming language for Android application development and will be included in the new version of Android Studio 3.0, and no additional installation settings are required.Java and Kotlin are among the most popular programming languages used by Google to develop Android applications. Since 2011, Kotlin has emerged as a new language for Java Virtual Machine, developed by a team of St. Petersburg programmers called Jet Brains.The team launched the first stable version of Kotlin last year Kotlin 1.0, and since then they released the new update kotlin 1.1 in early March, and soon began to talk about the world, and also loved by the software community The team receives and relies on language suggestions during development, as well as Open Source on Github, and of course as a programmer this is great for you To compare now between them and Java, of course we must first make clear that Kotlin is not here to replace Java at all, any code written in Java will work with Kotlin and vice versa Kotlin requires fewer lines of codeLess by about 20%. As we know the age of the language of Java 22 years, created by Oracle to be compatible with the above, which means that each new version to support features exist in the versions that preceded it, so with each update becomes more difficult to include new features, It is written every time.In contrast, Kotlin was built from scratch, meaning the absence of the structure of the layers stacked on top of each other.Less collapses occur with KotlinJTM's JTM has fewer problems compared to the so-called "one billion dollar mistake" - any problem with NullPointerExeption - that can be avoided here. This problem exists in all programming languages, but different ways to deal with it. For example, in Java you have to manually check if the link is null or not, and if you make a mistake, surprise the program has collapsed In Kotlin, all object objects are set to Null as well as automatic verification of the NullPointer exception, to ensure that the code works properly without it.Kotlin saves you a lot of time Fewer codes guarantee fewer software errors, and therefore less time spent on coding. Typically, any software development team calculates the total cost of the project according to the number of encoding hours.Interop interoperabilityYou might wonder how this will affect the code you wrote? Do not worry, as I mentioned earlier, Kotlin is not here to replace Java, but they are perfectly compatible. Which means that you can write part of the code using Java and the rest using a Kotlin and will work together without problems.In addition, there is a tool in Android Studio that translates java into Kotlin, and it works very well, giving you a glimpse of what the Kotlin Java method looks like.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.