2 ms·
> Uniform Function Call Syntax (UFCS) > This has made my code significantly clearer. My code can accurately follow the flow of data without polluting my stack
by eru 5y ago
> Uniform Function Call Syntax (UFCS)
> This has made my code significantly clearer. My code can accurately follow the flow of data without polluting my stack with single-use variables, nesting many function calls, or other sorts of clutter.
This is also pretty common practice in Haskell. Though Haskeller's typically have a higher tolerance for reading their code backwards. (But you don't need to. It's easy to define operators that arrange your code in the other direction.)