Christopher Subich wrote: > Carl Banks wrote: > > > Listcomps et al. cannot do everything map, lambda, filter, and reduce > > did. Listcomps are inferior for functional programming. But, you see, > > functional is not the point. Streamlining procedural programs is the > > point, and I'd say listcomps do that far better, and without all the > > baroque syntax (from the procedural point of view). > > I've heard this said a couple times now -- how can listcomps not > completely replace map and filter?
If you're doing heavy functional programming, listcomps are tremendously unwieldy compared to map et al. -- CARL BANKS -- http://mail.python.org/mailman/listinfo/python-list