←back to thread

498 points azhenley | 1 comments | | HN request time: 0.209s | source
Show context
gwbas1c ◴[] No.45767877[source]
Years ago I did a project where we followed a lot of strict immutability for thread safety reasons. (Immutable objects can be read safely from multiple threads.)

It made the code easier to read because it was easier to track down what could change and what couldn't. I'm now a huge fan of the concept.

replies(1): >>45769474 #
piker ◴[] No.45769474[source]
You should check out Rust
replies(1): >>45770733 #
1. gwbas1c ◴[] No.45770733[source]
Rust wasn't available at the time.

It probably won't come as a surprise to you, but I am a big fan of Rust.