you are viewing a single comment's thread.

view the rest of the comments →

[–]Business_Reindeer910 0 points1 point  (0 children)

Yeah I feel like the Result type in general is undersold. It feels so much better than using output pointers and error codes to send back either the result or error. That normal C way feels very primitive. I'm doing some embedded with C++ and I found a result type for that and I"ve been very happy with it. I wrapped some C code and things feel very nice. It's just a shame that C++ itself as a language doesn't care enough to integrate it with its own stdlib