I recently presented this talk at DevTalks Reimagined – Online Edition. This talks contains the answers for the next questions:
- What is Clean Code?
- Why is it important to write Clean Code?
- How to write Clean Code?
With Kotlin we are able to write concise, expressive and safe code. Sounds like clean code, doesn’t it? During this presentation we will recap what clean code is, we will highlight the importance of defining meaningful names and how to write clean functions and classes. Finally we will be able to learn more about the advantages of immutability and how to handle the errors in Kotlin. By the end of the session, you will have a better understanding of what clean code means and you will learn a series of tips and tricks ready to be applied in your code.
📚 Learn more
- Article “CommandQuerySeparation” by Martin Fowler
- “Law of Demeter: Principle of Least Knowledge” by Professor Karl, Northeastern University
- Article “Breaking the Law of Demeter is Like Looking for a Needle in the Haystack” by Miško Hevery
- Article “TellDontAsk” by Martin Fowler
- Article “One Assertion Per Test” by Dave Astels
- The Tragedy Of Checked Exceptions by Howard Lewis Ship
- Exceptions are Bad by Jed Wesley-Smith
- Checked exceptions I love you, but you have to go by Miško Hevery