Link Details

Link 926979 thumbnail
User 299922 avatar

By swartzrock
via bks2.com
Submitted: Feb 20 2013 / 02:21

The List.head() method in Scala’s List collection class provides a simple way to get the first element in the list, but it's also an easy to create unexpected exceptions in production.
  • 3
  • 0
  • 331
  • 96

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.

Upvoters (3)



Downvoters (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