I’ve never understood the frustration over magic variables. It’s always sounded similar to the complaints about var declarations when people are used to explicit type declarations. Verbosity like that just reads as attenuating noise to me.
I’m sorry, but I don’t see the parallel between my and do {local (@ARGV, $/) = $file; <>}
Even renaming standard keywords, like next and last, adding unless… There was a whole book about best practices, and I wish Perl 6 followed that to the T.
My biggest gripe with Perl is the entire dimensions of possibility to hide effects. And Raku seems to have kept a lot of it, and added more stuff on top.
I’ll be honest - I never studied Roku, so I don’t know much about it.
If they got rid of those magic variables, that’s good enough.
Just now I looked at docs and no, they left a lot of stuff in there.
I’ve never understood the frustration over magic variables. It’s always sounded similar to the complaints about
var
declarations when people are used to explicit type declarations. Verbosity like that just reads as attenuating noise to me.I’m sorry, but I don’t see the parallel between
my
anddo {local (@ARGV, $/) = $file; <>}
Even renaming standard keywords, like
next
andlast
, addingunless
… There was a whole book about best practices, and I wish Perl 6 followed that to the T.My biggest gripe with Perl is the entire dimensions of possibility to hide effects. And Raku seems to have kept a lot of it, and added more stuff on top.