Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: Why Perl 6 is taking so !@#$ long

by grinder (Bishop)
on Feb 28, 2006 at 08:34 UTC ( [id://533282]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Why Perl 6 is taking so !@#$ long
in thread Why Perl 6 is taking so !@#$ long

"It's not source filtering is it?"

Smart match, switch, say and the like were added to the language in December 2005 by Robin Houston. See the summary for a starting place to find out more. You might also have to go back a few weeks to catch all the developments. In short, no, it's not a filter.

• another intruder with the mooring in the heart of the Perl

  • Comment on Re^6: Why Perl 6 is taking so !@#$ long

Replies are listed 'Best First'.
Re^7: Why Perl 6 is taking so !@#$ long
by shotgunefx (Parson) on Feb 28, 2006 at 08:51 UTC
    Now that I'm happy to hear :)

    One question thought, anyone know why they went with "err"? Just seems like it would clash with a lot of things and off the top of my head, doesn't seem very intuitive.

    -Lee
    "To be civilized is to deny one's nature."
        Saw that note, (was pm'ed to me after my post). Funny, "dor" was the first thing that popped into my head too. (see above)

        -Lee
        "To be civilized is to deny one's nature."

      What does intuition have to do with computers?

        Not sure if there is a little sarcasm in that message or not, but I'll assume there isn't.

        I would say it has nothing to do with computers, and much to do with programming languages, or at least Perl. Obviously, a large part of Perl's attraction is DWIM, which to me implies intuition, at least to a point.

        Not knowing that "err" is "defined OR", my first thought would be that it had something to do with exceptions. The definition of the word implies that it has something to do with errors.

        While expressions in programming languages and human languages often don't match up, they more often do. "do, if, else, and, or, etc, not, while, use, etc".

        Seems like it should have been more appropriately named defor, dor, whatever.


        -Lee
        "To be civilized is to deny one's nature."

        IMO a fair amount. You wouldn't want to name a routine that sums a list 'avg' would you? Naming something that has nothing to do with errors 'err' is IMO a bad plan. And clashes with expectations generated by other languages. (Such as VB which uses the err object for exception throwing.)

        I said all this on p5p at the time, but to no avail.

        ---
        $world=~s/war/peace/g

Log In?
Username:
Password:

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

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

    No recent polls found