5 ms·
> sigh I really miss Perl's implicit behaviors sometimes. I never had too much of an issue with Perl's implicit behaviours, but it enables some really lazy pro
by pyre 12y ago
> sigh I really miss Perl's implicit behaviors sometimes.
I never had too much of an issue with Perl's implicit behaviours, but it enables some really lazy programming, even from (otherwise) smart people that are gung-ho about Modern Perl. E.g.:
sub { map { "$_ $_[0]" } @{shift->[0]} }
(Note: I have actually seen people think that this was an ok way to code, even as they tried to champion things like MooseX::Declare.)
There's also stuff like this[1] for Perl + Unicode. :^P
[1] https://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default https://stackoverflow.com/questions/6162484/why-does-modern-...