News for hackers. Stuff that matters.
Re:The Play Framework at LinkedIn by nessus42 on Thursday February 21, 2013 @07:11PM (#5261605)
> Scala doesn't support top-level functions (only singleton objects)

This is neither here nor there. Scala has "package objects" and functions put into a package object are scoped directly at the top level of the package. They are not nested within any other object. The only downside to this that I can see, is that at the moment, a package can only have a single package object, which means all the top-level functions for the package have to reside within a single file.

There are no comments on this comment yet.