Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^6: RFC: Simulating Ruby's "yield" and "blocks" in Perl

by LanX (Canon)
on Apr 22, 2013 at 20:21 UTC ( #1029974=note: print w/ replies, xml ) Need Help??


in reply to Re^5: RFC: Simulating Ruby's "yield" and "blocks" in Perl
in thread RFC: Simulating Ruby's "yield" and "blocks" in Perl

LOL ... =)

You know the story where Einstein was asked by a journalist if he can explain Relativity Theory in 10 minutes?

Cheers Rolf

( addicted to the Perl Programming Language)

) Nota Bene I'm not saying I'm Einstein and that FP is RT... =)


Comment on Re^6: RFC: Simulating Ruby's "yield" and "blocks" in Perl
Re^7: RFC: Simulating Ruby's "yield" and "blocks" in Perl
by BrowserUk (Pope) on Apr 23, 2013 at 03:22 UTC

    And *still* dodging the question. You don't have to answer with the secrets of the universe; a single, simple, useful example of use would suffice.

    It is easy to see you've seen the flaws in your own reasoning when you choose to deflect and distract rather than engage.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      No, you're still ignoring the answers I already gave.

      It's a meditation about using Perl as (partial) DSL for Ruby.

      Again, the benefit of a shorter syntax is better understandable within a Ruby context, where passing callbacks is integral part of the language.

      Mastering this technique in Perl takes much longer because a beginner has to understand prototypes and coderefs. Furthermore it's inconsistent in Perl because you can't use prototypes on methods.

      And I already admitted that I wouldn't use this implementation in Perl.

      Finally, debating about "beauty" of syntax is in the eye of the beholder, so lets agree that we disagree.

      Cheers Rolf

      ( addicted to the Perl Programming Language)

      ) Personally, it took me years before I started to hack Perl in this way. Ruby people have to learn it from the start.

      ) Could this be the reason I didn't post it under CUFP? Surprise!

      ) And I don't like your inquisitory attitude to fight everything you don't understand in mosnter threads.

        And I don't like your inquisitory attitude to fight everything you don't understand in mosnter threads.

        You post a Request For Comment; and then refuse to answer questions?

        If the thread has become a "mosnter", its because you're *still* dodging the obvious questions.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
Reaped: Re^7: RFC: Simulating Ruby's "yield" and "blocks" in Perl
by NodeReaper (Curate) on Apr 23, 2013 at 03:23 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2014-07-25 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (171 votes), past polls