Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Lambda used with map vs. list comprehension?

It is known that these two approaches have the same functions. I would like to know if one is more efficient more than other. Please state reasons for your preference.

user-image
Question added by Deleted user
Date Posted: 2015/03/26
vinish G
by vinish G , Software Engineer , Thinvent Technologies Pvt Ltd

Hi,

 

The fn's you mentioned makes your coding easier and cleaner, these are created for LISP programmers in request.

Even Guido Van Rossums prefers LIST comprehension than using these functions and me too.

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.