Kotlin
Kotlin is a statically typed general-purpose programming language that targets the JVM and other platforms and interoperates with Java.
Kotlin in Action, 2E
Kotlin is a statically typed programming language designed to interoperate with Java and run across multiple execution environments.
- How it is used
- Supports Android, server-side, JVM, and cross-platform development while enabling gradual Java-project adoption.
- How deep it goes
- Introduces syntax through runnable examples, then explains typing, functional style, safety, interoperability, tools, and JVM compilation.
- Examples
- Demonstrates a Person collection, Spring Boot JSON service, Ktor routes, and a Jetpack Compose expandable message card.
- What you can do after
- Apply it via IntelliJ IDEA, Android Studio, or the online playground to write and run Kotlin programs.
The Art of Code
A statically typed programming language that runs on the JVM and provides explicit nullability in its type system.
- How it is used
- Uses null-safe expressions and expressive type-based control flow to keep engineering intent visible in everyday code.
- How deep it goes
- Explains nullability, safe calls, Elvis fallback, smart casts, and sealed when exhaustiveness through comparative code examples.
- Examples
- Uses product pricing chains and Book subtype promotion messages as concrete examples of concise, safe control flow.
- What you can do after
- Evaluate Kotlin designs for readability, cognitive complexity, null-safety, and compiler-enforced coverage of sealed cases.
Also covered in
- The Creative Programmer
- Contract Testing in Action
- Grokking Simplicity
- 100 Java Mistakes and How to Avoid Them
- Writing for Developers: Blogs that get read
What to know first
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- attributeAn attribute is a named property or piece of information associated with an entity, object, or structured data item.
- functional programmingFunctional programming is a programming paradigm that expresses computation through the evaluation and composition of functions, typically favoring immutable data and minimizing mutable state and side effects.
Related concepts
- JVMuses · The Java Virtual Machine (JVM) is an abstract runtime environment that loads and executes Java class-file bytecode and other code compiled for its instruction set.
- static typingkind of · Static typing is a typing discipline in which program types are determined or checked before execution, typically through compilation or static analysis.
- function typeuses · A function type specifies the types of inputs and result that a callable value accepts and produces.
- multiparadigm languagekind of · A multiparadigm programming language supports programming according to more than one distinct programming paradigm, such as object-oriented and functional styles.
- optionuses · An option type is a type that represents either a value of a specified type or its absence as distinct alternatives.
Questions about Kotlin
What is Kotlin?
Kotlin is a statically typed general-purpose programming language that targets the JVM and other platforms and interoperates with Java.
Which Manning books explain Kotlin?
Kotlin in Action, 2E and The Art of Code.
What should I know before learning Kotlin?
Manning books that teach Kotlin usually introduce JavaScript, attribute, functional programming and Groovy first.
What is the difference between Kotlin and Java?
Kotlin is a statically typed general-purpose programming language that targets the JVM and other platforms and interoperates with Java. Java is a statically typed, general-purpose, class-based programming language whose compiled bytecode typically runs on the Java Virtual Machine.
What is Kotlin a kind of?
Kotlin is a kind of static typing. Static typing is a typing discipline in which program types are determined or checked before execution, typically through compilation or static analysis.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

