Kotlin Type Classes - a Practical Pattern to Organize Your Code
ฝัง
- เผยแพร่เมื่อ 18 ก.ย. 2024
- blog post: blog.rockthejv...
Complete Kotlin course: rockthejvm.com...
Other videos referred in this video:
Kotlin context receivers: • Kotlin Context Receive...
Kotlin functional error handling with Either: • Functional Error Handl...
In this video, we'll explore type classes in Kotlin, without the heavy theory or too much functional programming. Instead, we'll expand our code example, making it increasingly maintainable, extensible, and easy to read and understand.
Follow Rock the JVM on:
LinkedIn: / rockthejvm
Twitter: / rockthejvm
Blog: Blog: blog.rockthejv...
-------------------------------------------------------------------------
Home: rockthejvm.com
-------------------------------------------------------------------------
Super nice, Daniel. Please keep the Kotlin content rolling. Highly appreciated here!
Nice overview of different kinds of Validation with increasing levels of revealing intent.
It's an elegant solution! I like this approach, great content.
Hey man, thank you very much for your videos. I wanted to ask is it going to be any tutorial of akka+kotlin?
probably not; Akka + Kotlin would be the same as Akka + Java
Great content 👍
💣 Need more!
I wonder how this would look like in a DDD fashion, where in changing the DTO to the domain model the domain validation is performed inside the domain, and other validations inside the application/controller layer, which is then persisted.
I'll give it a try to rewrite my logic in this style! I think it would make it cleaner ( if I manage to lol)
rock the jvm rocks
Você já usou o Framework UDASH ele usa Scala.
"never use double for money"... what should we use instead?
Use specialized money types (many libraries for it)
Mentions we’ll model events, doesn’t use past tense to describe them. *triggered* 😅😅😅
Technically, as described, they're _commands_
@rockthejvm