I even went to the library to find a good book on Simula67 since there’s so little information online
this code leaves me with so many questions
I do think that dry-rb is doing many things right, but some of the parts seems a bit too DSL for my.
how is this "simply"? what's the difference between inside and outside `configure`? why do I need a completely different syntax when I want to share predicates?
the cool part here is that it is easy to combine validations for various use cases. here's an example for "Change password" where you keep the same password if you don't fill in any password:
(syntax may be subject to change)
Notes on implementation of Shrine (a library for file uploads): https://bibwild.wordpress.com/2018/09/12/notes-on-study-of-shrine-implementation/
I like the indentation-based way of explaining the flow of the library.
A Mastodon instance for Rubyists & friends