3 ms·
The Rust tendency toward “golfing” is why I don’t like it. It’s not even lifetimes, but the way traits are setup. And the lack of unified function call syntax.
by elcritch 4y ago
The Rust tendency toward “golfing” is why I don’t like it. It’s not even lifetimes, but the way traits are setup. And the lack of unified function call syntax. Sometimes it’s a function, sometimes a method — that distracts a lot from the problem at hand IMHO.
- steveklabnik 4y agoYou can call any method as a function, if you'd like. foo.bar(baz) becomes bar(foo, baz) Though you may also need to add in some &s and/or *s, because method call syntax autoref/derefs, and function call syntax does not.