Have you ever wanted to add type-checking to your Ruby code? Going from a rubber duck to a full-armed duck? (pun intended) no? So allow me to intro...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, thanks for summarizing this topic.
To be honest, I am using ruby for its simplicity.
May I ask, why you are promoting such a complex approach just for type-checking?
I am using Dry::Types regularly for this purpose. Simple, elegant, robust.
You are invited to compare the two aproaches.
I don't think sorbet is complex, honestly is quite simpler than other approaches (such as rbs or typescript for another language example).
I do know about Dry::Types, it's a nice validation gem but for me it relies only on that field: validating structs
Sorbet allow you to express types for a whole new set of parts in your codebase, like variables by using T.let
Also sorbet allow more expressive typing via generics
Although Dry::Types are presented as a type system, I would treat more as a validation layer gem while sorbet or steep as proper type systems
🍒
Icecream is wonderfull in any context
Yeah I love sugar
Thanks for sharing<3
Awesome content!
Great article!!
Congratulations, Cherry! Great post again, if there's "sorbet" in the name It will be awesome!
Nice
Amazing!
pica
OMG IT'S CHERRY FROM BRAZIL? BIG FAN HERE
Great content!
Supeeeer good
Awesome
omg, the ruby queen attacks again!!! Great post!
Complete and interesting article! Saving this to read more times! Thx, Cherry <3
Awesome content!!
omg another great article from cherry hiiii
Great!
Sensational, as usual.
High quality content!, Just the patroa <3
Great content, as always and great to read everything you produce. congratulations Cherry
thanks a lot <3 <3
Nice tutorial 🔥🔥🔥
thanks!! <3 <3
Never heard about Icecream, but I liked it a lot.
Really nice tutorial, Cherry! Keep going!
Thanks a lot cousin! sorbet is a really nice tool
Amazing content cherry, I liked the meme references =D
hope it's a cool experience for you cousin <3 <3
Perfeita que merece uma música:
Amazing!!