Link Details

Link 746763 thumbnail
User 974613 avatar

By cjsmith
Published: Feb 17 2012 / 08:41

Fredrik Håård provides a unique twist on comprehensions and how best to explain them to programmers. While most sources start out with 'this is how its done in math, so...', Fredrik believes that for programmers, a list comprehension is simply a for loops for constructing lists, using a more declarative notation than a typical loop.
  • 9
  • 0
  • 1585
  • 808


Add your comment
User 904793 avatar

threepipeproblem replied ago:

0 votes Vote down Vote up Reply

Why would you want to explain list comprehensions to a non-programmer?

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java