develooper Front page | perl.perl6.language | Postings from April 2010

Re: underscores vs hyphens (was Re: A new era for Temporal)

Thread Previous | Thread Next
From:
yary
Date:
April 10, 2010 17:20
Subject:
Re: underscores vs hyphens (was Re: A new era for Temporal)
Message ID:
i2p75cbfa571004101720u18ace0b6v90626b979cd2fb7c@mail.gmail.com
On Sat, Apr 10, 2010 at 4:53 PM, John Siracusa <siracusa@gmail.com> wrote:
> I'm not sure if the intersection of people who speak English and
> people who program is better or worse than average when it comes to
> grammar, but I do know (from editing my share of writing) that the
> average is very bad and, further, that many programmers do not speak
> English as a first language, or at all.

Adjectives and nouns aren't English-only. So Damian's proposal is
multi-culti. One could argue that Perl's identifiers, keywords, etc
are based on English so that it is more difficult for a non-English
speaker to discern why underscore is used in some places and hyphens
in other. The solution to that would be rote memorization of method
names, including "_" and "-" in the spelling. Not ideal, but most
likely what many English speaking programmers would do too. And would
cuss over.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About