News for hackers. Stuff that matters.
Re:JDK 10: General Availability by anon3474422 on Wednesday March 21, 2018 @10:15AM (#16638135)
Rust explicitly allows shadowing, that way you can have it both ways. An immutable variable that can't be reassigned but you can still reuse names.

That is to ease the pain of unwrapping nested types and error-checking intermediate steps so you don't have to come up with new names for each intermediate.

There are no comments on this comment yet.