You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fragment below from a review of Austral (“ALookAtAustral2023”) mentions a confusing claim about the dangling else ambiguitiy in other languages: the text seems to imply that it is a problem in Rust, but that is incorrect because they require braces around each branch.
“There are many good reasons to prefer the Rust approach: Programmers care a great deal about ergonomics. The dangling else is a feature of C syntax that has caused many security vulnerabilities. Try taking this away from programmers: they will kick and scream about the six bytes they’re saving on each if statement.” This is a weirdly bad example, given that Rust has taken the dangling else away and lots of people love it and most of the rest seem to not care either way.
The fragment below from a review of Austral (“ALookAtAustral2023”) mentions a confusing claim about the dangling else ambiguitiy in other languages: the text seems to imply that it is a problem in Rust, but that is incorrect because they require braces around each branch.
The claim appears in the specification section “The cutting room floor”:
https://austral-lang.org/spec/spec.html#rationale-linear-cutting-room-floor
The text was updated successfully, but these errors were encountered: