Kotlin Code Smell 2 - Functions Are Too Long
TL;DR: Refactor and extract functions longer than 5-10 lines of code.
Problems
Low cohesion
High coupling
Difficult to read
Low reuse
Solutions
Refactor.
Create small objects to handle specific tasks and unit test them.
Compose methods.
E...
yonatankarp.com1 min read
Maxi Contieri
Software Engineer
Loving this series based on generic code smells and instanciated on Kotlin