Cargando…

Beginning Kotlin : Build Applications with Better Code, Productivity, and Performance /

This book introduces the Kotlin programming skills and techniques necessary for building applications. You'll learn how to migrate your Java programming skills to Kotlin, a Java Virtual Machine (JVM) programming language. The book starts with a quick tour of the Kotlin language and gradually wa...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hagos, Ted (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Berkeley, CA : Apress L. P., 2022.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Introduction
  • Chapter 1: Introduction to Kotlin
  • About Kotlin
  • It's Simple
  • It's Asynchronous
  • It's Object-Oriented
  • It's Functional
  • Ideal for Tests
  • Setup and Configuration of IntelliJ
  • Hardware Requirements
  • On Windows
  • On macOS
  • On Linux
  • Getting a Project Up and Running
  • Key Takeaways
  • Chapter 2: A Quick Tour of Kotlin
  • Program Elements
  • Literals
  • Variables
  • Expressions and Statements
  • Keywords
  • Whitespace
  • Operators
  • Blocks
  • Comments
  • Basic Types
  • Numbers and Literal Constants
  • Characters
  • Booleans
  • Arrays
  • Strings and String Templates
  • Controlling Program Flow
  • Using ifs
  • The when Statement
  • The while Statement
  • for Loops
  • Exception Handling
  • Handling Nulls
  • Key Takeaways
  • Chapter 3: Functions
  • Declaring Functions
  • Single Expression Functions
  • Default Arguments
  • Named Parameters
  • Variable Number of Arguments
  • Extension Functions
  • Infix Functions
  • Operator Overloading
  • Key Takeaways
  • Chapter 4: Types
  • Interfaces
  • Diamond Problem
  • Invoking Super Behavior
  • Classes
  • Constructors
  • Inheritance
  • Properties
  • Data Classes
  • Visibility Modifiers
  • Inheritance Modifiers
  • Object Declarations
  • Key Takeaways
  • Chapter 5: Higher Order Functions and Lambdas
  • Higher Order Functions
  • Lambda and Anonymous Functions
  • Parameters in Lambda Expressions
  • Closures
  • with and apply
  • Key Takeaways
  • Chapter 6: Collections
  • Arrays
  • Collections
  • Lists
  • Sets
  • Maps
  • Collections Traversal
  • Filter and Map
  • Key Takeaways
  • Chapter 7: Generics
  • Why Generics
  • Terminologies
  • Using Generics in Functions
  • Using Generics in Classes
  • Variance
  • Reified Generics
  • Key Takeaways
  • Chapter 8: Debugging
  • Errors
  • Runtime and Logic Errors
  • Working the Debugger
  • Set Breakpoints
  • Run the Program in Debug Mode
  • Analyze the Program State
  • Other Uses of the Debugger
  • Changing the Program State
  • Key Takeaways
  • Chapter 9: Unit Testing
  • Create the First Test
  • Write the Test Body
  • Run the Test
  • Iterate
  • Key Takeaways
  • Chapter 10: Writing Idiomatic Kotlin
  • Null Checks and Safe Casts
  • Data Classes
  • Named and Default Arguments
  • Named Parameters
  • Expressions
  • apply()
  • Extension Functions
  • Key Takeaways
  • Chapter 11: Creating a Spring Boot Project
  • Spring and Spring Boot
  • The Spring Family
  • Spring Initializr
  • Key Takeaways
  • Index