News for hackers. Stuff that matters.
Re:Rust const generics MVP hits beta by twic on Friday February 26, 2021 @02:05PM (#26278480)
I proposed using it to model lifecycles of entities:

https://github.com/tim-group/higher-kinded-lifecycle/blob/ma...

(in this code, "idea" is a domain concept from the firm i worked for at the time - basically a recommendation to buy a stock, which is 'opened' on a certain date, and 'closed' when it no longer seems like a good recommendation)

My collegues didn't like it, and stuck to using separate types for objects in different stages of the lifecycle!

There are no comments on this comment yet.