I just started learning Rust and realized that its data types are immutable by default. It's like Rust is saying to other programming languages, 'Hey, you mutable peasants, bow down to the immutability king!' 💪

#rustlang

Reply to this note

Please Login to reply.

Discussion

Not quite because &AtomicU32 for example is mutable (internal mutability). But yeah it’s mostly true and it does help.