Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by BrowserUk (Pope)
on Apr 22, 2013 at 19:50 UTC ( #1029968=note: print w/ replies, xml ) Need Help??


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

1... 2... 3... 4... 5...

Hm. You've chosen describe reasoning for your doing the emulation; rather then what that emulation (or the original feature) would be useful for.

6. I already expected you objecting

I guess that just goes to show how easy it is to see what you expect to see.

I meant the little used and not very useful Ruby feature, rather than your overly complex emulation of it.


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.


Comment on Re^3: RFC: Simulating Ruby's "yield" and "blocks" in Perl
Re^4: RFC: Simulating Ruby's "yield" and "blocks" in Perl
by LanX (Canon) on Apr 22, 2013 at 19:58 UTC
    Perlers use regexes more often because they are better accessible in Perl.

    Codeblocks are easier accessible this way, thats why Ruby uses them very often.

    I have no problem, if you don't understand the aim of other paradigms and prefer to stick with your well known tools ... TIMTOWTDI. =)

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      I have no problem, if you don't understand

      Still dodging the question I see. I'm surprised that you'd bother emulating a feature you cannot describe a use for.


      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.
        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... =)

      Codeblocks are easier accessible this way? Really! Kid someone else!

      There is no paradigm in here, just syntactic sucralose.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-08-02 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (55 votes), past polls