/Effective-Java-to-Kotlin

Effective Java items translated to Kotlin!

Primary LanguageKotlin

Effective Kotlin

codebeat badge Build Status codecov

Kotlin implementation of the effective java items from Effective Java book by Joshua Block.

Introduction

This book was created with the intention of translating the effective java items found in the book written by Joshua Bloch to Kotlin. Kotlin is a Statically-typed JVM language which operates with 100% Java interop. The development lead of Kotlin had this to say when he described the language,

Kotlin is designed to be an industrial-strength object-oriented language, and a "better language" than Java, but still be fully interoperable with Java code, allowing companies to make a gradual migration from Java to Kotlin.

The developers of Kotlin have designed the language with Effective Java in mind thereby rectifying a lot of problems put forth by Java. This can be seen throughout this book as we read through all the Java items and the correction of those problems through new features introduced in Kotlin.

This doesn't mean that Kotlin only has improvements in the modules mentioned in Effective Java. Kotlin has introduced a lot more features and better ways to write code and this will be addressed in the module named Effective Kotlin which will be available soon.

This book also contains code which has been thoroughly tested to make it more fun, engaging and easier to understand the logic behind the items. This should give you a deep-dive not only to Kotlin but should also delve you into the intricate complexities of working with Java.