🌿 Kotlin: No IF-ELSE statement?!

📜 Statements 🧮 Expressions 🧘 The importance of the Expression vs Statement distinction 📝 Conclusion ☕ Buy me a coffee This post highlights the great practice of programming languages that are expressive and how they avoid the design flaw of statements used in languages like Java, C# and GO. It gives a deeper meaning to the everyday if code you are so used to writing by now. In Kotlin there are no if statements. And there’s a good reason why. Kotlin is a functional expressive language, and that’s why if is treated as an expression instead of a statement. Inspired by languages like Haskell, Ruby and the beloved Rust they all have in common that they treat their ifs as expressions. ...

2023, May 19 · 4 min · Dominic Flocea

Practical Kotlin Intro: Pragmatism lvl. 80

Best Features: - Concise: Write less, do more. - Versatile: Swiss-Army Knife of Languages - Performance: Coroutines and Reactive Programming - Conclusion, final thoughts and thanks Buy me a coffee Kotlin has experienced an immense growth in popularity, and it’s easy to see why. You will personally love the language and its features; by the end, you will want to advocate for it too. I am not planning to stop using it in my future projects because I love writing Kotlin, and I want to share what I love most about it and try to convince those who haven’t tried it to do so after reading this article. ...

2023, May 13 · 8 min · Dominic Flocea