Hacker News new | ask | show | jobs
by perceptronas 1011 days ago
FP Scala is enforced by discipline rather than the language itself. It works wonderfully, even though you don't have effect tracking and can launch intercontinental missiles everywhere.

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