Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^7: Overcoming addiction to Lisp

by runrig (Abbot)
on Jun 16, 2005 at 20:40 UTC ( [id://467436]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Overcoming addiction to Lisp
in thread Overcoming addiction to Lisp

A tied array would require more infrastructure (i.e. it's more cumbersome to make, which is just MHO and an arguable point), and I don't see that creating a simple iterator is reinventing the wheel, especially seeing as how there's a pretty decent book out with chapters on this very thing.

Replies are listed 'Best First'.
Re^8: Overcoming addiction to Lisp
by Anonymous Monk on Jun 16, 2005 at 20:53 UTC
Re^8: Overcoming addiction to Lisp
by Anonymous Monk on Jul 19, 2005 at 16:46 UTC
    Henry Baker sees iterators as a potential sign of weakness...
    The appearance of iterators in an object-oriented language appears to be inversely related to the power of the language's intrinsic control structures. Iterator classes are used for the sole purpose of enumerating the elements of an abstract collection class without revealing its implementation. We find that the availability of higher-order functions and function closures eliminates the need for these ad hoc iterator classes

Log In?
Username:
Password:

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

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

    No recent polls found