Re:Rust 1.24
by Rotareti on Thursday February 15, 2018 @04:25PM
(#16387772)
> Especially how Rust enums and structs make it easy to define new types to guide your programs are a highlight for me.
In recent versions Python got some nice improvements in this area, with the new way of creating NamedTuples, Data Classes and the typing module. I wrote a stackoverflow answer recently that sums it up, if anyone is interested:
In recent versions Python got some nice improvements in this area, with the new way of creating NamedTuples, Data Classes and the typing module. I wrote a stackoverflow answer recently that sums it up, if anyone is interested:
https://stackoverflow.com/a/45426493/1612318