DEV Community

Discussion on: Variable Shadowing In Rust – “Let” Is Immutable But Not Constant

Collapse
 
destynova profile image
Oisín

I'm also not really a fan of shadowing, and observed at least one serious bug in an Elixir codebase due to an accidental shadowing (Elixir also uses immutability by default).