News for hackers. Stuff that matters.
Re:Functional programming languages should be better at muta... by kazinator on Tuesday July 30, 2024 @07:21PM (#41115071)
And not even always how the code is compiled. Canned runtime library routines can you destructive techniques to produce their outputs. The program doesn't see an aggregate object until the function returns it. (If we set aside lazy structures for a moment, but those are actually another example of something that can be built destructively under the hood. As you probably more deeply into the object it is mutated to make more of it materialize.)

There are no comments on this comment yet.