logoalt Hacker News

chowellsyesterday at 9:32 PM0 repliesview on HN

It's definitely a shock when something else changes the date object you've been holding on to. The problem with mutable values has never been when you (that is, the local context) change them. It's always that you can't trust that nothing else (some very non-local code) does.