by WJW · 3y ago · 0 comments
Trying to bolt paradigms from stricter languages onto Ruby is like nailing jelly to a wall.
Not saying this paradigm fits in Ruby, but it certainly works with discipline as well.
As for shoehorning things into Ruby – I think its fine to experiment. Libraries can always try to bring best practices from other languages, some might fit wonderfully, others might not. I personally dislike exceptions, I will happily include "fake" Result/Either for non panic workflows