Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: [5.8.0 Note] A Sub Named Sigma

by RMGir (Prior)
on Nov 25, 2002 at 13:34 UTC ( #215610=note: print w/ replies, xml ) Need Help??


in reply to [5.8.0 Note] A Sub Named Sigma

Am I the only one thinking "Cute, but WHY???"... (Edit: I should note that I did ++ Zaxo, it's a cool experiment.)

It's interesting, and I guess it'll be cool to be able to say

# this won't render right as a code block, so it's pre
my ($x,$sum);
Σ(\$x,1,100,sub{$sum+=$x;$sum});
But I'm afraid that venturing into multi-byte character sets for source code is pretty dangerous... I'd think the risks don't outweigh the benefits.

It is important to be able to represent them in strings and data, of course.

Oh well, the powers that be did decide that perl source could be utf-8, so it's not like I can retroactively change their minds. But the possible toolset incompatibilities outweigh the benefits, in my mind, of sub Σ, or even, in French, things like sub arrivée and sub départ...
--
Mike


Comment on Re: [5.8.0 Note] A Sub Named Sigma

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://215610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-12-28 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls