#Lazy-Evaluation
2 notas · última:
Elixir Streams
The post contrasts eager `Enum` operations with lazy `Stream` operations, then shows how streams handle large or infinite data, file and stdin input, and paginated GitHub API results.
Elixir Stream Patterns
The post surveys how Streams are used in Elixir code, comparing them with Enum and other constructs, and argues for choosing the clearest form while using lazy evaluation only where it saves work.
