https://github.com/kotlin/kotlin-in-action-2e
Code samples for the second edition of "Kotlin in Action".
https://github.com/kotlin/kotlin-in-action-2e
book example kotlin kotlin-in-action sample
Last synced: about 1 year ago
JSON representation
Code samples for the second edition of "Kotlin in Action".
- Host: GitHub
- URL: https://github.com/kotlin/kotlin-in-action-2e
- Owner: Kotlin
- License: mit
- Created: 2022-08-31T16:02:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T20:42:57.000Z (over 2 years ago)
- Last Synced: 2025-06-08T15:05:30.744Z (about 1 year ago)
- Topics: book, example, kotlin, kotlin-in-action, sample
- Language: Kotlin
- Homepage: http://kotl.in/in-action
- Size: 151 KB
- Stars: 69
- Watchers: 8
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code samples for Kotlin in Action, Second Edition [](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
This project contains the code samples from book "[Kotlin in Action, Second Edition](http://kotl.in/in-action)"
by [Sebastian Aigner](https://twitter.com/sebi_io), [Roman Elizarov](https://twitter.com/relizarov), [Svetlana Isakova](https://twitter.com/sveta_isakova),
and [Dmitry Jemerov](https://twitter.com/intelliyole).
To build the project, import it as Gradle project in IntelliJ IDEA.
Each of the samples is a self-contained file, and most of them contain a "main"
function. To run a sample, simply open the file in the IDE, right-click the
"main" function and select the "Run" or "Debug" option from the context menu.
Some of the samples do not contain a "main" function, and are provided only as
a reference or demonstration of a concept. You can simply study them, or you
can incorporate them into your own examples or exercises.
The numbering of the sample files corresponds to the order in which they
appear in the book, but not necessary the specific listing numbers (since we also include some of the unnumbered code
snippets here).