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.
Add your comment