in reply to Re^4: Experimental features: autoderef vs postfix deref
in thread Experimental features: autoderef vs postfix deref
Sorry kcott, I hope you're not offended by this, but: grandmother; eggs :)
You've 'explained' everything (that I already knew) and completely skipped over, omitted, ignored the only important part of my explanation of why state is "flawed".
It only does half the job.
I do use state for purposes other than closures: typically, once-off initialization of variables used in a single subroutine
But "once-off initialisation of variables in a ... subroutine" is a closure! Just by a slightly different syntax.
And that slightly different syntax is flawed. Which is where I started.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Experimental features: autoderef vs postfix deref
by kcott (Archbishop) on Jul 12, 2015 at 22:55 UTC | |
by BrowserUk (Patriarch) on Jul 12, 2015 at 23:13 UTC | |
by kcott (Archbishop) on Jul 13, 2015 at 13:52 UTC |