develooper Front page | perl.module-authors | Postings from December 2010

Re: What hurts you the most in Perl?

Thread Previous | Thread Next
From:
Xavier Noria
Date:
December 2, 2010 12:54
Subject:
Re: What hurts you the most in Perl?
Message ID:
AANLkTimX=as_ar1wQw1F2cvPEmtLN7fugu+iHkxhEq9W@mail.gmail.com
On Thursday, December 2, 2010, Shawn H Corey <shawnhcorey@gmail.com> wrote:
> On 10-12-02 11:36 AM, Dana Hudes wrote:
>
> In re the hashref vs list argument the motivation forme is that I gain very little from using Perl's parameter prototyping. Indeed we have modules such as Params::Validate because others feel the same way.
>
> Perl is a weakly typed language. It doesn't have type-based method dispatch as Java does.  Those want that use a module that helps or roll their own.
> It doesn't have real type checking at compile time. It barely does at run time.
> There is no difference between an integer and real or floating point.
>
>
> I like Perl's lack of datatypes.  Don't forget datatypes were invented by compiler writers to make their job easier.  They do not make programming easier.  People do not think in terms of datatypes.

Compared to other dynamically typed languages you'd say Perl has
*some* static typing, that's kinda what sigils are in my view.

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