Re:Why don't more languages offer flow typing?
by munificent on Tuesday April 05, 2022 @07:12PM
(#30926351)
I'm sorry, but we seem to be talking past each other.
Why is it a problem that statements are "devoid of return information"? A statement occurs in a position where, by definition, no value it produces will be used.
Also, what? Pattern matching differentiate between values of a single type, and while the assignment mechanism is a great nice-to-have, it still completely follows the basic type consistency that actually typed functions provide.
Statements have none of these qualities..