Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Re (tilly) 4: Paradigm Shift - when to use goto

by JadeNB (Chaplain)
on Nov 04, 2009 at 04:36 UTC ( #804839=note: print w/ replies, xml ) Need Help??


in reply to Re: Re (tilly) 4: Paradigm Shift - when to use goto
in thread Paradigm Shift - Don't use strict

To shed my vast light on the discussion, 8 years later: Is this

replacing the current subroutine via a goto &othersub (rare),
really true? I thought that goto was the only way to get proper tail-call recursion, which means that those of us with functional backgrounds who aren't so fond of iteration would be using it a lot.

Incidentally, nothingmuch has recently offered Sub::Call::Tail for those who recoil from the syntactic ugliness of the goto-based set-up. Given your contributions in the past, I imagine you have your own way of twisting tail-calling gotos into shape when the occasion warrants. :-)


Comment on Re^2: Re (tilly) 4: Paradigm Shift - when to use goto
Select or Download Code
Replies are listed 'Best First'.
Re^3: Re (tilly) 4: Paradigm Shift - when to use goto
by runrig (Abbot) on Nov 04, 2009 at 17:28 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-29 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls