News for hackers. Stuff that matters.
Re:Switching from C++ to Rust by Twisol on Monday March 13, 2023 @08:54PM (#35145743)
Scott Wlaschin's "F# For Fun and Profit" website is a great resource for strongly-typed (yes) data modeling with sum types as a fundamental tool.

https://fsharpforfunandprofit.com/series/designing-with-type...

By the third entry in the linked series, we've motivated the use of a sum type with three variants in the example domain model.

There are no comments on this comment yet.