News for hackers. Stuff that matters.
Re:Joel Spolsky: Can your programming language do this? by kejadlen on Saturday April 23, 2011 @12:31PM (#2477078)
By default, inject uses the first element of the array as the argument, so it would use nil on an empty list. It optionally takes an argument to kick off the process.

There are no comments on this comment yet.