News for hackers. Stuff that matters.
Re:Scala Feels like EJB 2 by trurl on Tuesday November 22, 2011 @02:16PM (#3266906)
Yes, I guess I answered the letter of his question... but I personally wouldn't use collection types indexed by a size unless (a) I really really needed to be sure about this particular invariant (b) there was a bit more sugar and automation. In most cases the added verbosity and complexity involved would not generally be a win over just using an assertion. However, it is nice to know you have the option of static enforcement should it be desirable.

There are no comments on this comment yet.