4 ms·
I agree - for me, immutability is much more about making code easy to reason about than it is about making it parallelizable.
by ShardPhoenix 12y ago
I agree - for me, immutability is much more about making code easy to reason about than it is about making it parallelizable.
- vandeekamp 12y agoI'm frankly tired of this rich hickey meme of "reasoning about" code. And I'm sorry but when you and even rich says it it's misleading conflation intended to confuse the listener. Implementing stateless systems in OOP is trivial. As in fucking a child can do it. And we have been doing it for DECADES. This "reasoning about" meme also implies that all code we write is inherently algorithmic and simply a computation. It is NOT.. 90 percent of code is just moving data around. The ten percent of algorithmic code, That involves actual math is usually trivially implemented in OOP languages. So lets rid ourselves of blowhard statements like "reasoning about' Because if you had any real experience you would understand we deal with these problems quite simply in OOP every day. Here's something for YOU to reason about. Us OOP guys can do the same thing better and actually understand the code 2 weeks later. We don't need to "reason" about it