Chip Salzenberg <chip(_at_)perlsupport(_dot_)com> writes:
(I'm assuming that Topaz will have more built-in data types than
Perl 5.)
Well, it _can_. But I'm hoping that many things that might seem like
new types could instead become new implementations of existing types.
That said, iterators seem like a good candidate for a real new type.
Pardon me if this is too off-the-wall, but do you think there is room
for dropping (or at least deprecating) the "glob" as a fundamental
type? I mean, what are globs really good for?
%foo == %foo
@foo == @foo
instead of
%foo == *foo->{HASH}
@foo == *foo->{ARRAY}
As I say, this is just a suggestion. The only things I have against
globs are:
1. they are hard for newbies to understand
2. I don't see much point to them
3. they may make translation to other languages rougher
-John