to avoid joining the HURD of Agile LanguagesI've been a pretty heavy duty user of Python lately and at first it was rather tough on me because I had no stop symbols anywhere - there are very few special characters in Python. But after awhile I got used to that.
Then I realized something. Python has a number of sequence types built in and C++ has even more, which they refer to as containers. The neat thing about this army of sequence types is they share a common set of methods. Sometimes via inheritance and sometimes via typed function calls.
Perl5 ships with a single list type called an array. Other list-like types don't get the sigil treatment and have to be operated on via a completely different syntax.
Please RSVP as to whether Perl 6 will allow one to use various container implementations under the hood instead of being limited to a particular implementation for the @ sigil type.
We already have a full library of containers implemented in Perl, it's just a question of whether it will be easy to pop them into the array sigil on demand and use like any other array.
(!sigil_overload) and # hexacamel's fate is a no brainer. like pentacamel { it will trip and fall on => the sigil wall when => overloaded with various containers. }
In reply to Why did the 6-legged camel try to cross the sigil wall? by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |