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 identifier zapeth_clunk itself that
leaves zapeth-clunk free to be used by developers to mean something

Is that something we want to enable?

Code with identifiers that differ only in word separators sounds like it
would be most confusing to maintain. Are there specific circumstances in
which it would be useful?

Patrick R. Michaud writes:

> On Tue, Aug 23, 2011 at 05:36:27PM +0200, Damian Conway wrote:
> > I'd like there to be a more consistent approach than that
> +1 to consistency.

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?

That would seem to be the most human-friendly approach.


Reply via email to