Jump to ratings and reviews
Rate this book

Волшебство Kotlin

Rate this book
Kotlin – один из самых новых языков в экосистеме Java, устраняющий многие ограничения Java и гораздо более универсальный. Среди его преимуществ: полная совместимость с Java и возможность интеграции на уровне исходного кода, широкая поддержка парадигмы функционального программирования, помогающая писать надежный и безопасный код, лаконичность синтаксиса, а также, что весьма немаловажно, гарантии поддержки со стороны IT-гиганта Google.

Пьер-Ив Сомон, опытный разработчик на Java, в своей книге подробно освещает нюансы программирования на Kotlin, переходя от общего описания языка к его характерным особенностям и возможностям, включая приемы функционального программирования.

Издание предназначено для разработчиков, знакомых с Java и стремящихся повысить безопасность своих программ, а также упростить их написание, тестирование и сопровождение.

536 pages, Hardcover

Published December 1, 2019

19 people are currently reading
98 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (22%)
4 stars
16 (44%)
3 stars
7 (19%)
2 stars
4 (11%)
1 star
1 (2%)
Displaying 1 - 8 of 8 reviews
Profile Image for Bugzmanov.
239 reviews108 followers
March 21, 2023
The book title is a bit misleading. It should be "Functional programming in kotlin" as the book follows structure and content of "Functional programming in Java" and "Functional programming in scala" from the same publisher.

I might be biased, but out of those 3 (fp in scala, java, kotlin), I've enjoyed scala version the best. Perhaps because scala is truly function programming language, while kotlin is more"pragmatic java" kind of a deal, which coincidentally makes it more functional.

You should expect basics of functional programming from this book: pure functions, persistent data structures, lazy evaluations, folds, recursion and corecursion, etc.
The books tries to be very gentle and slow with introduction of new concepts (and doesn't use category theory language), but requires you to do a lot (and i mean "A LOT") of exercises. If you're not familiar with functional programming I highly recommend doing it.
On the other hand, if you did your homework with SICP, i don't think this book will be enlightening in any way (while "functional programming in scala" by Rúnar Bjarnason might still be lots of fun and discoveries)

As with all books in this series, you might end up being lost at the end. "I got it how to make my code more functional, but how is this applicable to my day job?"
For those folks a i would recommend "Domain Modeling Made Functional: Tackle Software Complexity with Domain-Driven Design and F#" by Scott Wlaschin and "Functional and Reactive Domain Modeling" by Debasish Ghosh.

Between 3 and 4. It's not a bad book.
Profile Image for Mark Nenadov.
807 reviews44 followers
January 5, 2019
I've read this via Manning's Early Access Program and it is a fun, brief read. It is a bit like O'Reiily's "X: The Good Parts" series. Even though I read the more complete guide first (Kotlin in Action)., this was a good reinforcement of many things from that book.
Profile Image for Illia.
213 reviews4 followers
September 27, 2022
I’d name it “the sorrow of Kotlin” other than that it’s ok.
Profile Image for Michał Olejnik.
63 reviews1 follower
April 5, 2021
This book is not about Kotlin, it’s about functional programming. Hence, if you want to learn the language you’ll likely feel confused as various syntax elements and concepts are introduced without proper introduction.

It’s better if you expect to learn about functional programming, but still far from perfect (in my opinion). First few chapters - focused on core and more advanced concepts of this paradigm - are the best (especially part dedicated to recursion/corecursion and about handling errors and optional data). Unfortunately it gets worse once we get to data handling. The examples feel very academical and detached from the real world. I think it would be much better if the book showed how functional programming can be practically applied and how it makes our code safer and better rather on focusing on guiding readers on how to implement various data structures in “safe” manner.

Overall I think it’s a decent read for someone who wants to learn about concepts of functional programming and doesn’t mind that most of the examples and exercises feel like something that needs to be implemented to pass “Data Structures in Functional Programming” course at the university.
11 reviews1 follower
August 20, 2023
Better title would be "Functional Programming with Kotlin". The book focuses on evangelizing functional programing, and only incidentally covers Kotlin as its selected tool for FP. After the first several chapters, I only skimmed the balance to confirm that's what it was about.

For all I know, it could be a five-star book on FP, but that's not how it's titled and marketed. As a book on Kotlin, as the title "The Joy of Kotlin" suggests, it is -- at best -- a two-star book.

If you want to learn FP, this may be the book for you. If you want to learn Kotlin.... nope.
Profile Image for Daniel Svensson.
7 reviews
August 29, 2021
A book suitable to someone who is just beginning to write code, and knows no Kotlin. After the first hundred pages you've explored most of the language. Much of the examples tries to shoehorn FP-concepts into a language where FP isn't a first class citizen. For a novice it's a good introduction to FP-concepts however. The code quality isn't that great either, mostly due to the contrived FP flavor. I would not be happy to get a new colleague who really took these examples to their heart. FP fits better in for example Haskell. It feels like it tries to be a Kotlin version of FP in scala - the red book.
Profile Image for Justin.
199 reviews44 followers
May 27, 2019
Interesting book but not sure if all that useful. I guess it will help you understand Arrow if you use that.
Profile Image for Carolina Galvão.
1 review
May 18, 2024
In dept examples of how to use kotlin as a functional language. Exercises perhaps a bit too complex for a beginner to programming.
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.