Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Ansi Perl

by wolfger (Deacon)
on Dec 23, 2004 at 14:24 UTC ( [id://417093]=note: print w/replies, xml ) Need Help??


in reply to Ansi Perl

If I understand you properly, you are asking why we don't force people to write for($x=1;$x<=10;$x++){} and disallow for(1..10){}, or vice versa. Similarly, I think you want to force if($x==5){print $x} and disallow print $x if ($x==5) (or vice versa... If my assumptions are correct, then I think the answer is that this flies completely in the face of Perl's spirit...

--
Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

Replies are listed 'Best First'.
Re^2: Ansi Perl
by Anonymous Monk on Dec 23, 2004 at 15:22 UTC
    No, I don't think the OP wants that, and I don't think any other person rooting for certification of Perl wants that.

    What they want is have a specification which says that "EXPR if CONDITION" is 1) legal, and 2) states what it means. There are benefits to having a specification constructed by a specifications body. The benefits gets bigger if there are more players. Perl, being a relative small language, with just one vendor (that is, just one entity that produces Perl) the benefits are smaller than for instance C, with millions of coders, and dozens of compilers.

    I don't know whether Perl would benefit from getting a standard. It depends on what your goals are, I suspect. If you want to get more people to program Perl, and have it being used in more companies, you want specification more than if you want to give more flexibility to the implementors.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://417093]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-18 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found