Re:A comparison of Rust's borrow checker to the one in C#
by whizzter on Thursday October 31, 2024 @06:25AM
(#42005314)
I'm hardly missing discriminated unions (sure exhaustive checking would be nice) anymore since the introduction of switch expressions that in combination with records handles most practical cases.
[ Parent
| on HN ]
Re:A comparison of Rust's borrow checker to the one in C#
by CharlieDigital on Thursday October 31, 2024 @07:13AM
(#42005609)
I find DU's particularly useful with `System.Threading.Channels` because it lets the channel handle multiple types of results in one stream.