#Streams
4 notas · última:
Making Complex Streams Easier to Understand
The post says complicated Elixir pipe chains can become hard to read, and suggests wrapping a Stream composition in a function or variable to make the code easier to understand and reuse.
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.
Unix Philosophy and Node.js
The post reframes the Unix Philosophy for Node.js: modules should do one thing well, compose through streams, stay small, and favor pragmatism, iteration, and maintainability over purity.
