News for hackers. Stuff that matters.
Re:The Serde Rust Framework by the_duke on Thursday October 14, 2021 @10:48PM (#28873591)
Emulating ADTs without language support/pattern matching is quite awkward. A prime example is std::optional in C++.

.map() et al only get you so far.

When extracting the value in Go you either have to return a pointer / error pair or abort. Both of which introduce awkward code patterns and potential for misuse.

There are no comments on this comment yet.