News for hackers. Stuff that matters.
Re:Why Go and Not Rust? by atoav on Monday September 16, 2019 @12:48PM (#20985962)
In my experience Generics become much more useful, when your typesystem is strict. I use them quite often in Rust, especially when writing functions that should take many different types as inputs/outputs.

You can get away without them in many cases, but if you are working on stuff that you want to reuse, generics are the way to go. In combination with Rust’s traits this is especially cool.

There are no comments on this comment yet.