Randal L. Schwartz wrote:
> John> Imho, this is A Bad Practice. Making it impossible would therefore
> John> be Good, existing-script-breakage not withstanding.
>
> So you'll break $ARGV and @ARGV? Is that really OK?
Yep.
> And will you extend this to ensuring that scalars, arrays, hashes,
> subroutines, filehandles, formats, directory handles, and labels all
> have distinct names?
Yep.
> I don't see a teaching advantage in saying "the three variable
> namespaces are all one, but all the other namespaces are distinct".
> When the rule gets longer, it gets harder to teach. And if it's
> harder to teach, it's probably harder to learn.
Here's a simple rule: all symbols must be unique*, regardless of
"type". It's a rule that most other languages have.
*except for hiding, which is orthogonal to this point.
--
John Porter