in reply to Re^5: What's wrong with Perl 6?
in thread What's wrong with Perl 6?
The extremely miniscule benefit of having same-named variables of different types is one I would gladly trade for the reduction in typing and visual clutter.
How much is the benefit of being able to look at a piece of code and identify which elements are variables and, of those, which are aggregates and which are scalars and which support which types of indexing operations? People will invent their own Hungarian notations without scalars, I promise you.
(undeclared variables) is the sort of behavior that the interpreter should be in the business of discouraging.
Somehow Ruby and Python don't manage that feature. It's awfully difficult if you allow lvalue functions and features such as method_missing.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: What's wrong with Perl 6?
by kyle (Abbot) on May 14, 2007 at 15:29 UTC |