Readability when dropping arguments
Opened this issue · 0 comments
cortner commented
WithAlloc leads to code that looks like this:
A, B = @withalloc myfunction!(x1, x2, x3)
which stands for
A = @alloc( ... )
B = @alloc( ... )
myfunction!(A, B, x1, x2, x3)
To make it clear that the two allocated hidden arguments are in there hidden, one could do something like
A, B = @withalloc myfunction!(_, _, x1, x2, x3)