Tom Christiansen wrote:
Darren Duncan wrote on Wed, 24 Aug 2011 11:18:20 PDT:
I oppose this. Underscores and hyphens should remain distinct.
That would seem to be the most human-friendly approach.
I disagree. More human friendly is "if it looks different in any way then it is
different"
Darren Duncan wrote on Wed, 24 Aug 2011 11:18:20 PDT:
> Smylers wrote:
>> Could we have underscores and hyphens mean the same thing? That is, Perl
>> 6 always interprets illo-figut and illo_figut as being the same
>> identifier (both for its own identifiers and those minted in programs),
>> with
Smylers wrote:
Could we have underscores and hyphens mean the same thing? That is, Perl
6 always interprets illo-figut and illo_figut as being the same
identifier (both for its own identifiers and those minted in programs),
with programmers able to use either separator on a whim?
I oppose this.
That kind of consistency is not much better than inconsistency in terms of
usability, IMO. I'd much prefer a purely lexical convention that doesn't
rely on how you assign parts of speech or define a "single word" that has a
hyphen in it.
Given that we allow hyphens in identifiers, I'd personall
Am 24.08.2011 11:33, schrieb Carl Mäsak:
Damian (>>>), Moritz (>>), Smylers (>):
... why hidden_from_backtrace instead of hidden-from-backtrace?
... low-level things are spelled with underscores, while we reserve
the minus character for user-space code.
So the idea is that if Perl 6 has an i
Damian (>>>), Moritz (>>), Smylers (>):
>> > ... why hidden_from_backtrace instead of hidden-from-backtrace?
>>
>> ... low-level things are spelled with underscores, while we reserve
>> the minus character for user-space code.
>
> So the idea is that if Perl 6 has an identifier zapeth_clunk itself
On Wed, Aug 24, 2011 at 11:19, Smylers wrote:
>
>
> Could we have underscores and hyphens mean the same thing? That is, Perl
> 6 always interprets illo-figut and illo_figut as being the same
> identifier (both for its own identifiers and those minted in programs),
> with programmers able to use ei
Moritz Lenz writes:
> Am 23.08.2011 10:46, schrieb Damian Conway:
>
> > ... why hidden_from_backtrace instead of hidden-from-backtrace?
>
> ... low-level things are spelled with underscores, while we reserve
> the minus character for user-space code.
So the idea is that if Perl 6 has an identif
> S19 uses hyphens for all of perl6's long-form command-line flags.
Command-line flags and methods are separate sets. Hyphens would be the
norm for flags.
> In S28, we find $*EXECUTABLE_NAME and %*META-ARGS listed
> within 10 lines of each other.
> S32-setting-library_IO.pod and S32-setting-libr