in reply to (jeffa) Re: Noble DOT vs the Allmighty ARROW
in thread Noble DOT vs the Allmighty ARROW

Without change, things can get stale.

True, but that does not mean that you should change things just for the sake of changing them. That breeds confusion, not progress. (see also: most Microsoft Office document formats)

Now, I haven't been following perl 6 news at all, so I don't know why this is being changed. Anyone got a pointer handy so information about the reasons behind the ->/. thing?

  • Comment on Re: (jeffa) Re: Noble DOT vs the Allmighty ARROW

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: Noble DOT vs the Allmighty ARROW
by cowens (Beadle) on May 08, 2002 at 15:49 UTC
    I tested my all of my perl code that was handy with this script:
    #!/usr/bin/perl -ln $arrow += () = /->/g; $period += () = /\./g; END { print "arrows occured $arrow times"; print "periods occured $period times"; }
    and got these results:
    arrows occured 454 times
    periods occured 227 times
    
    Now Perl has always been Huffman encoded (things used often should require less work than things done seldomly) so '.' (or some other one character operator) should replace '->'. When they went looking for a replacement they noticed that almost everyone else in the known world was using '.'. There are also other features in Perl 6 that cut down on the number of concats needed.
(jeffa) 3Re: Noble DOT vs the Allmighty ARROW
by jeffa (Bishop) on May 08, 2002 at 14:44 UTC
    Hmmm, i believe this was the first public mention of the change. The only mention of why is to be '...in line with industry-wide practice...'

    http://www.perl.com/pub/a/2001/10/02/apocalypse3.html?page=6

    And as for Microsoft ... that is not change ... that is marketing! @#$@#$!! !#@$#@$!

    jeffa

    Striving for a MicroSoft-free world