4 ms·
I think that taking options and results usually is an anti pattern. You want to handle the errors at creation-site and not propagate it to another function. Of
by sinistersnare 4y ago
I think that taking options and results usually is an anti pattern. You want to handle the errors at creation-site and not propagate it to another function.
Of course this is just a minimal example... Others have talked about the real point of this comment, and it's just a minor nit. I wanted to point this out for new rust programmers reading this.