Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Perl 6 is too complex

by adrianh (Chancellor)
on Mar 14, 2003 at 16:08 UTC ( #243091=note: print w/replies, xml ) Need Help??

in reply to Perl 6 is too complex

What exactly don't you like? My reaction was the complete opposite - perl6 will make it easy to do all the things that are quite hard to do in perl5.

There is also the fact that you can just carry on doing:

sub foo { my @args = @_; whatever() };

if you want. You won't get punished :-)

Please advise me as to how to proceed.

Come up with some concrete suggestions on how it could be improved. Take then to the perl language discussions lists (and post them here).

Replies are listed 'Best First'.
Re: Re: Perl 6 is too complex
by zby (Vicar) on Mar 14, 2003 at 16:22 UTC
    I can see a problem there - while you will be able to write your programs the old style you'll much have to learn much longer to read and understand perl written by others.

      Yes, there is more to learn. Whether learning that extra syntax and semantics will be difficult is hard to say.

      What people tend to forget is that the various Apocalyses are short (well, as short as possible to cover the content) technical documents concentrating on all that is new and different in perl6. They are not tutorials.

      When the tutorial books and documents get written (I bet merlyn is busy) concepts will be introduced in a more appropriate order. For example, I can see a natural progression from the simple suck-up-an-array style of argument passing to the more complex styles.

      Yes, the new arg passing style will need to be learnt by the people need its functionality. But will this be any more effort than learning the various perl5 styles:

      sub double { map { $_ * 2 } @_ }; sub method { my ($self, %param) = @_ }; use Param::Validate; sub validating { my @p = validate( @_, 1, { default => 99 }); .. etc etc etc..

      The huge advantage of having a system built into the language is that it need only be learnt once - rather than having to learn to interpret the dozens of roll-you-own variants out there in the world.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243091]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2017-12-17 08:45 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (462 votes). Check out past polls.