Programming Kotlin
eBook - ePub

Programming Kotlin

Stephen Samuel, Stefan Bocutiu

Share book
  1. 420 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Programming Kotlin

Stephen Samuel, Stefan Bocutiu

Book details
Table of contents
Citations

About This Book

Familiarize yourself with all of Kotlin's features with this in-depth guideAbout This Book• Get a thorough introduction to Kotlin• Learn to use Java code alongside Kotlin without any hiccups• Get a complete overview of null safety, Generics, and many more interesting featuresWho This Book Is ForThe book is for existing Java developers who want to learn more about an alternative JVM language. If you want to see what Kotlin has to offer, this book is ideal for you.What You Will Learn• Use new features to write structured and readable object-oriented code• Find out how to use lambdas and higher order functions to write clean, reusable, and simple code• Write unit tests and integrate Kotlin tests with Java code in a transitioning code base• Write real-world production code in Kotlin in the style of microservices• Leverage Kotlin's extensions to the Java collections library• Use destructuring expressions and find out how to write your own• Write code that avoids null pointer errors and see how Java-nullable code can integrate with features in a Kotlin codebase• Discover how to write functions in Kotlin, see the new features available, and extend existing libraries• Learn to write an algebraic data types and figure out when they should be usedIn DetailKotlin has been making waves ever since it was open sourced by JetBrains in 2011; it has been praised by developers across the world and is already being adopted by companies. This book provides a detailed introduction to Kotlin that shows you all its features and will enable you to write Kotlin code to production.We start with the basics: get you familiar with running Kotlin code, setting up, tools, and instructions that you can use to write basic programs. Next, we cover object oriented code: functions, lambdas, and properties – all while using Kotlin's new features.Then, we move on to null safety aspects and type parameterization. We show you how to destructure expressions and even write your own. We also take you through important topics like testing, concurrency, microservices, and a whole lot more. By the end of this book you will be able to compose different services and build your own applications.Style and approachAn easy to follow guide that covers the full set of features in Kotlin programming.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Programming Kotlin an online PDF/ePUB?
Yes, you can access Programming Kotlin by Stephen Samuel, Stefan Bocutiu in PDF and/or ePUB format, as well as other popular books in Informatique & Programmation en Java. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781787122659

Table of contents