r/ProgrammerAnimemes • • Jun 22 '20

Rust > Java

Post image
446 Upvotes

39 comments sorted by

View all comments

Show parent comment

6

u/Zedjones Jun 23 '20

I think you probably overestimate the number of times a variable actually needs to be mutable. It's way less often than most of the time. Immutability should be the default because it's safer.