
Sequence-Oriented Programming
CppCast
00:00
How to Safely Iterate a Link List
The tradeoff is a bit more ergonomic, especially if you've got an IDA and you get the auto completion, as you said. But the other hand, it's harder to extend. You have to actually change the underlying classes usually because if we don't have extension methods yet. We can use custom adapters, custom algorithms as well. The third approach was mentioned in this blog post we were talking about earlier. And then every time you modify the list by adding nodes, removing elements, whatever you do, it increments the generation count. That's something that's theoretically possible with the model of Flux.
Transcript
Play full episode