News for hackers. Stuff that matters.
Re:The Vale Programming Language by steveklabnik on Friday November 20, 2020 @10:21AM (#25161264)
Rust did not choose to infer types in signatures for UX and stability reasons. If you infer types in signatures, then a change in the body of the function can change the type of the function, which makes dealing with backwards compatibility harder. Also, it leads to weird "errors at a distance."
Re:The Vale Programming Language by kroolik on Friday November 20, 2020 @10:26AM (#25161326)
I call this property "an accidental complexity" - when changing one piece of code causes failures in other, seemingly unrelated parts of the system. The property causes fear of introducing changes, and is usually a sign of tight coupling.