Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Georgelemental
2y ago
0 comments
Share
Rust takes the "at least annotate all your function signatures" approach as well. It's essential for making borrow-checking tractable (for both the compiler and the programmer).
0 comments
default
newest
oldest
ReleaseCandidat
2y ago
Rust has the "you must annotate your functions signatures, because there is no global type inference possible" approach.
Mawr
2y ago
It's a carefully chosen, deliberate design decision [1]. Interface boundaries should be stable.
[1]
https://steveklabnik.com/writing/rusts-golden-rule
j
/
k
navigate · click thread line to collapse