in reply to Re: How would you fix Java?
in thread How would you fix Java?

I forgot one question, how do you feel about optional static typing? Thanks.

Replies are listed 'Best First'.
Re: Re: Re: How would you fix Java?
by IlyaM (Parson) on Apr 21, 2003 at 07:48 UTC
    Both thumps up. It is very perlish to support many styles of programming :) I just don't like when I'm forced to program in one specific style. BTW I think we've been promised to have optional static typing in Perl 6.

    --
    Ilya Martynov, ilya@iponweb.net
    CTO IPonWEB (UK) Ltd
    Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
    Personal website - http://martynov.org

      Better yet.

      In your typical statically typed language, what's typed is the name of the variable. If you are given an anonymous bit of data you have no indication as to what it is. In Perl, OTOH, you can find out whether it is a scalar, array, hash, anonymous code, or one of the more arcane types by looking at the data itself, without knowing about its name.

      Static typing in Perl is therefor likely to work much better than in your average conventional language.

      Makeshifts last the longest.