On Wed, Nov 24, 2004 at 06:30:29PM -0500, Felix Gallo wrote:
> 2.  "perl 6 is a lot cleaner than perl 5".  It's also much, much
> larger than an already very large language.  I've been programming
> and evangelizing Perl in organizations small and gigantic since
> 4.03x, and my eyes just glaze over at all the unnecessarily
> surfaced complexity bound to make reading other people's programs
> finally, at last, literally impossible:
> 
> http://www.ozonehouse.com/mark/blog/code/PeriodicTable.html
> 
> I'm not going to use perl 6.

Now, think about what a similar table would look like for Perl 5.  How
different would it be?  For extra credit, make one.

As an exercise, go through those operators and remove all that are already in
Perl 5 (such as cmp), or have an equivalent in Perl 5 (such as ?&), or are a 
simple expansion of an operator (such as ?&=).

Another exercise, eliminate operators for operations you don't already do
much of in Perl 5 (such as bitwise operations).

For extra credit, note which operators are just altered versions of Perl 5
operators (such as +&).

For extra credit, make another list from that of those new operators which 
replace existing common idioms in Perl 5 (such as hyperoperators) and make
them easier.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
The method employed I would gladly explain,
  While I have it so clear in my head,
If I had but the time and you had but the brain--
  But much yet remains to be said.
        -- "Hunting of the Snark", Lewis Carroll

Reply via email to