4 ms·
How to create value objects in Ruby – the idiomatic way
- adamors 2y agoRepost https://news.ycombinator.com/item?id=43421324 https://news.ycombinator.com/item?id=43421324
- t-writescode 2y agoAt a previous role, we used DryStructs for this, which seemed like a nice way of getting: * named variables * type validation * better documented code https://dry-rb.org/gems/dry-struct/1.6/ https://dry-rb.org/gems/dry-struct/1.6/
- deleted 2y ago[deleted]