perl6-language
[Top] [All Lists]

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

To: Bob Rogers <rogers-perl6@rgrjr.dyndns.org>
Subject: Re: Allowing '-' in identifiers: what's the motivation?
From: Austin Hastings <Austin_Hastings@Yahoo.com>
Date: Mon, 11 Aug 2008 10:02:06 -0500
Cc: "Mark J. Reed" <markjreed@gmail.com>, 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
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=Yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:Reply-To:Organization:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=K0/j4wRaB3OcEqZHlOKEPA6wnljMsIbQI7Wzu5cCts/Aw2c32INApYpea4uQs4tBzAtV7h1tGcfF8yB8PYz+RjuClO1YB3B7W8/Bk2KGyF8pX2oSaeXeV2kXYsUUfVvTWfp/xSXJ1khefRiyAfPPKXt1IRpkJW3EyMPPRlhXJG4= ;
In-reply-to: <18592.20319.905703.446577@rgrjr.rgrjr.dyndns.org>
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
Organization: Longacre, Inc.
References: <31238-20726@sneakemail.com> <489FB5FD.3030909@Yahoo.com> <19831-17172@sneakemail.com> <20080811094536.GY9326@klangraum.plasmasturm.org> <f60fe000808110607y3c8b85efj152b3a4f81a3c80d@mail.gmail.com> <18592.20319.905703.446577@rgrjr.rgrjr.dyndns.org>
Reply-to: Austin_Hastings@Yahoo.com
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
That sounds cool. Did you do it at the editor level, or at the keyboard level?

=Austin

Bob Rogers wrote:
   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>