3 ms·
Yeah, Perl 6 just doesn’t appeal to me as someone who uses Perl 5 on the regular. Now, a cleaner syntax? Maybe it would be better to avoid the magic variables,
by evincarofautumn 12y ago
Yeah, Perl 6 just doesn’t appeal to me as someone who uses Perl 5 on the regular.
Now, a cleaner syntax? Maybe it would be better to avoid the magic variables, but one thing Perl 6 did away with which I really like about Perl 5 is that the dereferencing operators ($scalar, @array, %hash, &sub, *glob) have distinct types, and “use warnings/strict” can catch their misuse. Dynamic typing is a lot more tractable for large software when you have succinct explicit typing.
As for non-shoehorned OO, maybe it would be easier for classes-and-inheritance people to learn Perl if it had a more conventional object system, but the fact that you can bless any reference with a package name and use it as an object is really simple and really powerful, and I like it a lot.