Hi,<br>
<br>
Le 15 avril 2016 19:29:40 GMT+02:00, "João Bernardo" <jbvsmo@gmail.com> a écrit :<br>
>I really like this tool:<br>
><br>
><a href="https://github.com/JulienPalard/Pipe">https://github.com/JulienPalard/Pipe</a><br>
<br>
First, thank you João !<br>
<br>
However I almost don't use it myself, I dislike the idea of exposing an overloaded operator (may cause surprises), and there's in fact a very few places where it's really clearer without reducing maintainability. I mean, working with a long pipe is opaque (no variables involved, so no logging no breakpoints, and no names, well chosen names helps readability).<br>
<br>
Also using my Pipe module forces you to mix infix with prefix calls, and I dislike mixing syntaxes, yet having some DSL is sometime cool when they are really useful, think of SQL typically.<br>
<br>
Finally the resulting code does clearly not look like Python code, even if readable, it may hurt readability, causing a surprise like "wow what is that, how is it possible ?" Almost forcing one to read Pipe doc instead of simply read Python code ...<br>
<br>
All of this obviously also apply to the idea of adding an infix call syntax to the stdlib, so I'm -1 on it.<br>
<br>
-- <br>
Julien Palard