Re:Building a Cloud Database from Scratch: Why We Moved from...
by elcritch on Friday February 10, 2023 @12:06PM
(#34742431)
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.
[ Parent
| on HN ]
Re:Building a Cloud Database from Scratch: Why We Moved from...
by steveklabnik on Friday February 10, 2023 @12:25PM
(#34742706)
You 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.