Re:Announcing Rust 1.19
by saghm on Friday July 21, 2017 @03:05PM
(#14823030)
The main reason I haven't used derive_builder much is that I'd much rather have a compile-time guarantee that all the field that I want are filled out than have to check for an error at runtime (or worse, just `unwrap/expect` everywhere). I'm not sure there's currently a way around this on stable, but I'd personally prefer writing boilerplate for my types than having to handle errors in places that shouldn't need them.
[ Parent
| on HN ]
There are no comments on this comment yet.