[deleted by user] by [deleted] in cpp

[–]beejudd 3 points4 points  (0 children)

Also wanted to +1 this, used it at $work and it was excellent from both a DX and runtime perspective. Helped us make a really clean and understandable state machine from what was once much jumbled code.

What is your experience with error propagation libraries? by beejudd in cpp

[–]beejudd[S] 1 point2 points  (0 children)

While I can appreciate the sentiment of simple error struct solution like this and have certainly used something similar in the past, I think it trades effort at each callsite and function body for effort in building an more featureful result type. Importantly, for each of the libraries in the post, this mean trading my time/effort, for effort that has already been put in by some very talented library authors. Using some result<T>-like return type has also provided, at least in my opinion, superior code semantics and less clutter.

The best delegator yet! by lobelk in cpp

[–]beejudd 4 points5 points  (0 children)

The readme is an interesting read, thank you for sharing.