Thanks for sharing your real-world experiences with Rust!
Max Heiber
142

You should also note that the part where “Go has a suitable solution” is actually the same solution you are proposing. Go also cannot access fields on the base struct of a composite reference, it’s the nature of the non-OO language. The mechanism to do this in Go would also be to expose getters, because well, struct fields are not considers APIs in these languages. This is unlike C# where an attribute dispatches just like a method does — but that’s OO for you, and Rust is not OO.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.