Agreed. Perl borrows vocabulary almost exclusively from English, but it is
not English, and its conventions are not those of English. (And the
conventions around hyphens that people are citing are quite specifically
those of standard written English; other writing systems, even those using
the sa
On Sat, Apr 10, 2010 at 8:23 PM, Daniel Ruoso wrote:
> Em Sáb, 2010-04-10 às 19:53 -0400, John Siracusa escreveu:
>> I'm having trouble imaging any convention that involves mixing word
>> separators being successful.
>
> But the convention Damian is proposing is simply "use underscores".
>
> Basic
Em Sáb, 2010-04-10 às 19:53 -0400, John Siracusa escreveu:
> I'm having trouble imaging any convention that involves mixing word
> separators being successful.
But the convention Damian is proposing is simply "use underscores".
Basically camelCase and with_underscores are conventions on "how to
c
On Sat, Apr 10, 2010 at 4:53 PM, John Siracusa 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, th
On Sat, Apr 10, 2010 at 7:17 PM, Damian Conway wrote:
> And is it really so hard to teach: "use underscore by default and reserve
> hyphens for between a noun and its adjective"? Perhaps it *is*, but
> then that's a very sad reflection on our profession.
I'm not sure if the intersection of people
John Siracusa commented:
> That's certainly an example of how hyphens might gain meaning in Perl
> 6 names, but I don't think I can endorse it as a convention. People
> can't even use hyphens correctly in written English. I have very
> little faith that programmers will do any better in code
Bu
In English, hyphens normally indicate an extra level of reification, where
e.g. what is normally a phrase is used in a context that requires a single
word: "The miller gave us the run of the mill." vs. "It was a
run-of-the-mill event."
As such, examples like "day?of?week" are somewhat infelicitous
On Sat, Apr 10, 2010 at 5:25 PM, Damian Conway wrote:
> Personally, I'd prefer to see the English conventions carried over to
> the use of general use of hyphen and underscore in identifiers in
> the core (and everywhere else).
That's certainly an example of how hyphens might gain meaning in Perl
Personally, I'd prefer to see the English conventions carried over to
the use of general use of hyphen and underscore in identifiers in
the core (and everywhere else).
By that, I mean that, in English, the hyphen is notionally a
"higher precedence" word-separator than the space
(or than its intra-
Mark (>>), John (>):
>> I'd much rather see a single consistent style throughout
>
> Yeah, that's was my main point/question. I wanted to know if it was
> it some intentional convention (e.g., "all methods that change the
> object state use hyphens, and all others use underscores") or if it
> was
On Sat, Apr 10, 2010 at 6:14 AM, Mark J. Reed wrote:
> I'd much rather see a single consistent style throughout
Yeah, that's was my main point/question. I wanted to know if it was
it some intentional convention (e.g., "all methods that change the
object state use hyphens, and all others use unde
Author: lwall
Date: 2010-04-10 20:12:11 +0200 (Sat, 10 Apr 2010)
New Revision: 30359
Modified:
docs/Perl6/Spec/S02-bits.pod
Log:
[S02] explicate (non)-relationship of interpolation and whitespace/unspace
Modified: docs/Perl6/Spec/S02-bits.pod
==
Author: colomon
Date: 2010-04-10 18:10:42 +0200 (Sat, 10 Apr 2010)
New Revision: 30357
Modified:
docs/Perl6/Spec/S32-setting-library/Numeric.pod
Log:
[Numeric] Move sqrt to Numeric. Remove incorrect return value type of roots.
Move cis and unpolar to Real. Add to-radians and from-radians to
Is Int a proper type? I hope I can use basic operation within Date and hours
in perl6 like:
Date -1/24 + 1/24/60 + Date
On Fri, Apr 9, 2010 at 10:00 PM, Moritz Lenz wrote:
> Am 09.04.2010 15:33, schrieb Dave Rolsky:
>
> On Thu, 8 Apr 2010, Carl Mäsak wrote:
>>
>> I do want to exp
I'd much rather see a single consistent style throughout the setting
than backwards compatibility with p5 naming conventions.
If Temporal is the first setting module to use multiword identifiers,
I vote for hyphens. They're easier on the fingers and the eyes;
underscores have always felt like an
John (>):
> Forgive me if this is a question the reveals how poorly I've been
> following Perl 6 development, but what's the deal with some methods
> using hyphen-separated words (e.g., day-of-week) while others use
> "normal" Perl method names (e.g., set_second)?
I'd just like to point out that t
16 matches
Mail list logo