perl6-language
[Top] [All Lists]

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

To: perl6-language@perl.org
Subject: Re: Allowing '-' in identifiers: what's the motivation?
From: Aristotle Pagaltzis <pagaltzis@gmx.de>
Date: Mon, 11 Aug 2008 11:45:36 +0200
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: <19831-17172@sneakemail.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>
Mail-followup-to: perl6-language@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>
User-agent: Mutt/1.5.18 (2008-05-17)
* John M. Dlugosz <dhcgnd702@sneakemail.com> [2008-08-11 06:25]:
> I do agree that it may be better for multi-word identifiers
> than camel case or underscores, as seen in many other languages
> that the great unwashed masses have never heard of.

XML and the stack of related technologies also do this (in
particular, variables and functions in XPath), which is where
I first encountered identifiers with dashes. I have been wishing
I could have them in mainstream languages ever since.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>


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