|
...anyone that's spent time chasing runtime exceptions (class casts et al) rather than use a type safe construct knows the value of generics. The beauty of them is that you pick when to use them, you're not forced to. I think that they are readable much more so than looking at some non-typed list and having to "guess" at what can go into the list without causing problems. Simplicity comes at a cost, maintainability in many cases. As for closures, why? |