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: "Mark J. Reed" <markjreed@gmail.com>
Date: Mon, 11 Aug 2008 09:07:33 -0400
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vezrZp3XfCXXrU70pmWitgPvTGPKdMj//OmpWcWIKvs=; b=XPMZysVt3srbPke0CsQ8t9MBXtx4wDdOh0lUv5xqT5WJl/Mh73PWPetkB8CVnUNXEu sMMrrZYCBREoKCZpDjAdzLje92sRpjrhi6C9e57+lyOlY8DK+UuEXw9oec33x0mw+MZu qqJVbmyS06RXNekQl+3a9IiC1HlgNdbZUYmYo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Wl9y+b1qunotjwBOozcxC+YeKveyw5ZbgsLt2s9X/P2dq5bfbhXDkDHKwiStexl064 qq3RubRaXcmziAtasuiKxaNUkB9zkyZy5jxTF1dOOyhhqNqNn80oh8gCjIDT7Dk1qOw8 qKbiUaSmyLtmqEALexqX/ny3J55QrBMaEpxVE=
In-reply-to: <20080811094536.GY9326@klangraum.plasmasturm.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
References: <31238-20726@sneakemail.com> <489FB5FD.3030909@Yahoo.com> <19831-17172@sneakemail.com> <20080811094536.GY9326@klangraum.plasmasturm.org>
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.  But at least in Perl's case the
subtraction conflict is mitigated by the fact that many subtraction
expressions will involve sigils;  $x-$y can't possibly be a single
identifier.

And multi-word-expressions without hitting the shift key!  My RSI thanks you.

-- 
Mark J. Reed <markjreed@gmail.com>


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