3 ms·
>Lack of a magrittr style infix operator, though seemingly minor, actually emerges as a real pain point once you become accustomed to using it. That's an inter
by contravariant 7y ago
>Lack of a magrittr style infix operator, though seemingly minor, actually emerges as a real pain point once you become accustomed to using it.
That's an interesting take, given that to me the magrittr operator seems to have been added to mimic the object oriented 'attribute' operator.
Of course the object oriented variant makes it harder to extend the behaviour of a class after it has been defined (although strictly speaking that isn't impossible with python), you'd need to add your methods up front, or extend the class.