in reply to Re: Things I Don't Use in Perl
in thread Things I Don't Use in Perl
I find overloaded operators very useful in the limited context of mathematical objects such as vectors and matrices. They can make these kinds of formulas more legible IMHO: I'd rather have
than$z = $x x $y / ($x . $y)
(See the Math::VectorReal module, for example).$z = $x->cross($y)->divide_by($x->dot($y));
In Section
Meditations