On Mon, Oct 13, 2008 at 10:50, Rob Dixon <[EMAIL PROTECTED]> wrote:
snip
> Then we must remain in disagreement. I believe that because
>
>  perldoc perlvar
>
> is so easy to access, and because it also provides mnemonics for each symbolic
> variable, the Huffman encoding principle is paramount here.
snip

But You are typing more.  If you were making the claim that

{
    local @" = ", ";
    print "buy @a1\nsell @a2\nkeep @a3\n";
}

was easier to type than

print
    "buy ",  join(', ', @a1), "\n",
    "sell ",  join(', ', @a2), "\n",
    "keep ", join(', ', @a3), "\n",

I might agree with you, but even then I think I prefer the second.  As
it is you are typing more and it is more cryptic.  I don't mind
cryptic if it is more efficient in some way (speed, memory,
characters, lines, etc), but your example is no better than the join
example.  There is no benefit to being cryptic there.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to