in reply to Re^2: Things I Don't Use in Perl
in thread Things I Don't Use in Perl
For coding, I prefer to conform to the larger convention: I don't redefine symbols, because I don't need to redefine symbols, and the small gain I get from standardization with a localized mathematical convention is washed out by the big loss in standardization for general coding conventions.
I guess I don't like code that reads:
$x = $y + $z; # delete all files if running as user wilbur
which is exactly what operator overloading allows. Specifically, it removes any guarantees that I once had about what is being done to what, when. Instead, every single line is suspect, and must be read in a much wider context to verify correctness, which I see as a huge loss for maintainability.
Sooner or later, someone will make a deliberate or accidental piece of malicious code, and the easier it is to track it down, the better.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Things I Don't Use in Perl
by Anonymous Monk on Aug 25, 2005 at 19:46 UTC |