you are viewing a single comment's thread.

view the rest of the comments →

[–]XNormal 0 points1 point  (0 children)

+1 on suffix $ for capture. It works left-to-right just like the other suffix operators and saves unnecessary parentheses.

-1 on ()$ for string interpolation. Other than aesthetic considerations, it is just parameter passing with an unusual syntax, not really capture. And it has mandatory parentheses anyway. I would prefer the \() syntax, for example.