2 ms·
More interestingly, there's a big crossover with dry-rb, which is some of the stuff that makes me think that Ruby (my preferred glue/new-Perl language by a coun
by eropple 10y ago
More interestingly, there's a big crossover with dry-rb, which is some of the stuff that makes me think that Ruby (my preferred glue/new-Perl language by a country mile) can actually sanely scale to large projects with large teams. (My experiences with dynamically-typed languages mostly are a shitshow past a certain point, but dry-types and dry-struct are, at least, the starting point of something that's a little less kooky.)
Right now I've been using hanami-validations, which incorporates a bunch of dry-rb, in completely non-web projects and it's great. Functional, typed conversions are really comfortable and easy with dry-rb; my main beef is a lack of a good way to dump data back out into an interchange format (like, I'd like my types to be able to JSONify themselves), but that's relatively minor.