Effective Kotlin

Apply Effective Kotlin best practices (Marcin Moskała, 2nd Ed). Covers Safety (Items 1-10: mutability, scope, nulls, types, expectations, errors, resources, tests), Readability (Items 11-18: operators, receivers, properties, naming), Reusability (Items 19-25: DRY, generics, delegation, variance), Abstraction (Items 26-32: levels, stability, visibility, contracts), Object Creation (Items 33-35: factories, constructors, DSLs), Class Design (Items 36-44: composition, data classes, sealed hierarchies, equals/hashCode/compareTo, extensions), Efficiency (Items 45-52: object creation, inline, sequences, collections). Trigger on "Effective Kotlin", "Kotlin best practice", "Kotlin idiom", "Kotlin style", "Kotlin review", "Kotlin safety", "Kotlin performance", "Kotlin readability", or "Kotlin design".

booklib-ai 455b622 11 files · 94.6 KB Updated

File contents

booklib-ai/skills/tree/main/skills/effective-kotlin commit 455b622f88

Frequently asked questions

npx skillmds@latest add booklib-ai/effective-kotlin