On Setting Orange, The Aftermath 53, 3172 YOLD, Josip Gracin wrote: >> Why clone libraries which are tuned to other language? Why emulate >> Python in Lisp? > > What does it mean "tuned to other language"? The functionality they > cover seems general enough and used frequently enough to be useful in > any programming environment.
Functionality is one part, Style is the other. Pythonists generally promote in their libraries what they call `The Python Way'. And Python's motto is `one good way to do it' -- which doesn't really fit Lisp. And, of course, they don't have macros, generic functions with multimethods, usable lambdas and more; OTOH, Lisp misses at least generators. So, good style Python API /= good style Lisp API. E.g., look at Python's re module (regexps). It can, of course, be ported to Lisp 1:1 API-wise. Now, look at CL-PPCRE API. Which one would be prettier and more natural to use in Lisp? Unless, of course, you were talking about completing Python's `batteries included' functionality, not cloning the API. >> It might be a >> dependency-only package that would pull commonly used libraries and >> save users effort of downloading each one separately (and/or > > I think this is good idea. We first need to make an inventory of what > already is implemented and create a skeleton based on those components. Skeleton, maybe inclusion in CL-Batteries would also speed up development and polishing of some libraries (but, of course, library maturity, stability and robustness would be one of requirements). One thing that Batteries project would do could also be cataloging and describing these libraries (think Tinaa-generated documentation for everything included, with additional descriptions that would make it easier to locate library -- cryptic package names are Bad for batteries; no sane person looking for HTTP server would look for it at `Hunchentoot'). > I have a feeling that "a benevolent dictator" type of organization might > be a perfect match for this kind of project. :-) Well, it turned out to work well for Python ;) -- __ Maciek Pasternacki <[EMAIL PROTECTED]> [ http://japhy.fnord.org/ ] `| _ |_\ / { (3) With sufficient thrust, pigs fly just fine. However, ,|{-}|}| }\/ this is not necessarily a good idea.[...] } \/ |____/ ( RFC 1925, Basic Truths of Networking ) -><- _______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
