LWN.net Logo

Memoization and Modules

Memoization and Modules

Posted Oct 13, 2005 1:39 UTC (Thu) by carcassonne (guest, #31569)
In reply to: Memoization and Modules by AnswerGuy
Parent article: Book Review: Perl Best Practices (NewsForge)

"Memoization is a programming technique (even an OO design pattern."

Yes, but then it does not necessarily mean that it has to be written from scratch when needed. If needed and if available, why not use it instead of writing it ?

"The question should not be: "Are there as much [sic] modules ...?" The sensible question is: can the corpus of freely available code allow me to do as much and as easily as with Perl. It's a qualitative rather than quantified issue."

Well, even if 'corpus' is a singular word, it reflects in this context a quantity. And when there's quantity, there's choice.

About the quality aspect you mention in a way that seems to hint that on one side there's less but the quality is better, I dunno. I guess I stick with ample choice and amongst that choice, a whole bunch of tested modules.

Funny that on a thread about a new Perl book there are so many replies about Python and so many comments about where to place curly braces in Perl.

Anyhow, thanks for the URLs, I'll check them out.


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds