On Mon, Apr 12, 2010 at 1:22 PM, Shawn H Corey <shawnhco...@gmail.com> wrote:
> Darren Duncan wrote:
>> See http://perlcabal.org/syn/S02.html#Names for your answers.
> Thanks for the link but nowhere in it does it state tha Perl 6 names are
> case sensitive.  The best the do is this, which implies it is but doesn't
> state it.
> "Other all-caps names are semi-reserved. We may add more of them in the
> future, so you can protect yourself from future collisions by using mixed
> case on your top-level packages. (We promise not to break any existing
> top-level CPAN package, of course. Except maybe ACME, and then only for
> coyotes.)"
> So, I'll ask again:  Where in the official documentation does it state that
> Perl 6 names are case sensitive?

I think it's more important to ask where it says that they aren't.

1) Perl 5 is case sensitive, and the original Apocalypses ran on the
basis of 'if it's not mentioned it's the same as Perl 5'
2) The spec assigns no meaning to identifier characters, it just
allows you to use a certain set of them. They mean nothing to the
language, therefore it has no concept of case to be insensitive about
3) Most popular programming languages are also case-sensitive

Maybe it should be explicitly mentioned somewhere, but I think it's a
reasonable default assumption. Programmers know that
case-insensitivity is a special form of string comparison which
involves lots of extra work, so tend to assume (at least in my
experience) that it's not going to happen unless they actually ask for

Reply via email to