News for hackers. Stuff that matters.
Re:The search for easier safe systems programming by neonsunset on Wednesday May 08, 2024 @01:25PM (#40300663)
Not exactly related to conversation but given that you mentioned (discriminated) unions, here are notes on recent design work:

https://github.com/dotnet/csharplang/blob/main/meetings/2024...

https://github.com/dotnet/csharplang/blob/main/meetings/2024...

Re:The search for easier safe systems programming by tcmart14 on Wednesday May 08, 2024 @02:50PM (#40301612)
Would be really nice to have. I hope we can get it with something like optionals you see in Rust or Swift. And really, with optionals, something like Swift's guard let statements.