3 ms·
Don't get me wrong, I rather agree with you on the conceptual side of things; I just wish there was a pretty syntax to do it practically. As you mention them,
by shakow 6y ago
Don't get me wrong, I rather agree with you on the conceptual side of things; I just wish there was a pretty syntax to do it practically.
As you mention them, pipes, for instance, get close to that, and e.g. Elixir uses them to a great result. However, it requires unambiguous priority of the arguments and cooperation & discipline from the librairies authors, so that piping follow the intuitive (and hopefully unambiguous) understanding of the data flow.
- Geminidog 6y agoI wasn't talking about Unix pipes. Apologies. I meant actual pipes. Like sewage piping. Reread my pipe example but imagine a 2D diagram of physical pipes instead. This is the physical analog of the point free style and the origin of the term when used in unix. The diagram should get around the problem that is caused by the point free style (aka Unix piping) when you use text to represent the concept. In fact this is one of the few times where graphical representations of programming is clearly superior to text.