2 ms·
My only gripe of Rust's syntax is the lifetime annotation, but I can't suggest any better alternative, either. > And I consider myself a polyglot. Then you sh
by beltsazar 4y ago
My only gripe of Rust's syntax is the lifetime annotation, but I can't suggest any better alternative, either.
> And I consider myself a polyglot.
Then you should realize that Rust borrows some of its syntax from other languages:
- Function's parameter and return types are borrowed from Python's type annotations.
- Turbofish syntax is from C++.
- Closure syntax follows Ruby's.