Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Georgelemental
2y ago
0 comments
Save
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
2 comments · 1 top-level
top
newest
oldest
ReleaseCandidat
2y ago
· 1 in thread
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