develooper Front page | perl.perl6.users | Postings from May 2006

Re: 3 Good Reasons...

Thread Previous | Thread Next
From:
Michael Mathews
Date:
May 24, 2006 15:42
Subject:
Re: 3 Good Reasons...
Message ID:
dab429000605241542s3ae81bc2r42119190cff3a4d2@mail.gmail.com
Ah, perfect example Daniel. I know people say things like "Java is
better for big projects because of the strictness of it's typing". I
respond that Perl isn't intrinsically sloppy if you practice good
coding, it just doesn't straightjacket you into that all the time.

So here's Perl 6 and it has lovely typing! Yay. I can now say "$foo is
Scalar;" but erm, that's optional. To get the benefit you must still
hope for developer self-discipline (my day-job is maintaining and
refactoring other people's Perl, so I may be a teensy bit bitter about
relying on developer self-discipline).

Is there something in Perl 6 akin to a "use strict" switch that will
apply the straightjacket some projects need, and thus force typing of
all variables. (Then I could have a good comeback for those damned
Java guys.)

--michael

On 24/05/06, Daniel Hulme <masoch@istic.org> wrote:
> > what problems Perl 5 has that Perl 6 fixes
>
> A type system to die for.
>
> I think that is enough of a win on its own that mentioning any of the
> other features will only muddy the issue :->
>
> --
> "The fact that some geniuses were laughed at does not imply that all who
> are laughed at are geniuses.  They laughed at Columbus,  they laughed at
> Fulton,  they laughed  at the Wright brothers.  But they also laughed at
> Bozo the Clown."   --  Carl Sagan              http://surreal.istic.org/
>
>
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About