Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Next Big Step for Perl 5

by chromatic (Archbishop)
on Aug 23, 2011 at 21:49 UTC ( #922009=note: print w/replies, xml ) Need Help??


in reply to Re: Next Big Step for Perl 5
in thread Next Big Step for Perl 5

IMO, removing features isn't progress at all.

Hi! I wrote a patch for Perl 5 a couple of years ago which added a class keyword. You'd think that'd be an easy change to the lexer and tokenizer, but I had to work around the Perl 4 package separator code—you know, the one that you only ever see in Acme modules, and then infrequently. Yes, that's the same feature that's been deprecated since Perl 5.000.

Now I understand not everyone might ever want a better syntax for declaring classes or methods or object attributes or regular expressions or file handling or function arguments or whatever syntax other people might want, but think about that. Adding a keyword to the language (without even worrying about whether it's doable in a backwards compatible way) requires working around features deprecated since the first release of Perl 5.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922009]
help
Chatterbox?
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2018-05-22 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?