News for hackers. Stuff that matters.
Re:Software Engineering principles to make teams better by travisjungroth on Thursday July 01, 2021 @01:03AM (#27696398)
I don’t want constants. I want immutability. The problem isn’t someone reassigning FOO. It’s them changing the data that FOO represents. So I’d love to just use Python and pass around tuples, strings, frozensets and a homemade frozendict, but the performance is terrible. Any change means a full copy of the whole data structure.

There are no comments on this comment yet.