Re:Why Would Anyone Use Perl 6?
by mst on Wednesday January 13, 2016 @10:57AM
(#10895206)
If operator overloading in perl6 was like operator overloading in most languages, that would be a very valid school of thought.
Thing is, operators in perl6 are basically multimethods under the hood, as is pretty much everything else - so it's a much saner, more predictable thing than, say, the bag of razorblades that is perl5 overloading (which I've used to good effect, but, still, razorblades ;).
Thing is, operators in perl6 are basically multimethods under the hood, as is pretty much everything else - so it's a much saner, more predictable thing than, say, the bag of razorblades that is perl5 overloading (which I've used to good effect, but, still, razorblades ;).