perl6-language
[Top] [All Lists]

Re: Allowing '-' in identifiers: what's the motivation?

To: "Mark J. Reed" <markjreed@gmail.com>
Subject: Re: Allowing '-' in identifiers: what's the motivation?
From: Bob Rogers <rogers-perl6@rgrjr.dyndns.org>
Date: Mon, 11 Aug 2008 10:40:31 -0400
Cc: perl6-language@perl.org
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-language@perl.org
Delivered-to: perl6-language@perl.org
In-reply-to: <f60fe000808110607y3c8b85efj152b3a4f81a3c80d@mail.gmail.com>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-language.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <31238-20726@sneakemail.com> <489FB5FD.3030909@Yahoo.com> <19831-17172@sneakemail.com> <20080811094536.GY9326@klangraum.plasmasturm.org> <f60fe000808110607y3c8b85efj152b3a4f81a3c80d@mail.gmail.com>
   From: "Mark J. Reed" <markjreed@gmail.com>
   Date: Mon, 11 Aug 2008 09:07:33 -0400

   I'm still somewhat ambivalent about this, myself.  My previous
   experience with hyphens in identifiers is chiefly in languages that
   don't generally have algebraic expressions, e.g. LISP, XML, so it will
   take some getting used to in Perl . . .

Amen.  I've long since reprogrammed "-" to give "_" if pressed once and
"-" if pressed twice, when editing languages with C-like identifiers.
So from my perspective, the added visual complexity is not worth it.

                                        -- Bob Rogers
                                           http://rgrjr.dyndns.org/


<Prev in Thread] Current Thread [Next in Thread>