News for hackers. Stuff that matters.
Re:Brut: A New Web Framework for Ruby by FrancoisBosun on Wednesday July 09, 2025 @10:19AM (#44510389)
Sorbet is nice, but for data structure enforcement and data validation, I much prefer the dry-rb ecosystem.
Re:Brut: A New Web Framework for Ruby by Lio on Thursday July 10, 2025 @06:41AM (#44519469)
I've used dry-rb a bit but had problems with breaking changes that put me off.

I love some of the ideas but they seem a bit too heavy for my taste.

e.g. I think (project) standardised results are a fantastic idea but I don't need the weight of Dry::Monad for that.

I think I can get enough benefit from built in features like .then and throw..catch with tags for signaling without an extra dependency and the risk of the API breaking on upgrade.