3 ms·
I am pleased to see that this was done without macros, even custom derives. There are a couple of macros in the library to make some use cases easier, but they
by twic 8y ago
I am pleased to see that this was done without macros, even custom derives. There are a couple of macros in the library to make some use cases easier, but they aren't essential.
There is a tendency in the Rust community to reach for macros as soon as anything a bit complicated or verbose comes up. I think this most often ends up sacrificing true understandability on the altar of a slick surface syntax, and it doesn't help us write or understand well in the long run.