Re:My favorite Rust function
by The_rationalist on Saturday October 12, 2019 @09:14PM
(#21237571)
rust provides common collection operations (filer, map, find…)
Those are just standard functional methods available in most languages.
Go indeed is noteworthy for it's lack of features.
Memory management is not the only type of “little detail.” For instance, rust provides common collection operations (filer, map, find…) in the standard library. In go (AFIAK), you need to hand-write a loop for each. IMO, the rust version is takes much less mental bandwidth to write and understand.