Chas. Owens wrote:
On Dec 21, 2007 4:51 PM, Dave Whipp <[EMAIL PROTECTED]> wrote:
Larry Wall wrote:

As for the Q base form, it's not really there so much for end-use,
For an operator not intended for end use, it has a remarkable low
Huffman rank...

But since it will be combined with adverbs like

my $str = Q :b :s /Hello $name\n/;

it needs to be short.   Q is just one part of a larger expression that
is meant to be taken as a whole.

That misses the point of Huffman coding. It is not the length of the overall expression that determines the score: it is the relative frequency with which it will appear in perl6 programs.

If the construct is used only rarely then it should have a longer name, and people using it would be well advised to use the long form of the adverbs when they do so -- increasing the overall length of the expression still further as an aid to readability of the rarely used operator.

If it will be frequently used then it of course deserves the short name.

Reply via email to