Comment on Macros in Perl6parentComments−Xurinos14yThe argument on the delayed execution issue is that you could just wrap crazily-expensive-computation() in a lambda/sub that is executed conditionally.−draegtun14yIndeed. However I do like the fact that Perl6 macros & functions use the same calling syntax and so are often interchangeable.
Comments
The argument on the delayed execution issue is that you could just wrap crazily-expensive-computation() in a lambda/sub that is executed conditionally.
Indeed. However I do like the fact that Perl6 macros & functions use the same calling syntax and so are often interchangeable.