Wondering if refinements are like Java generics, sounds attractive when you don't have them, but brings unexpected complexity when you do.
@jimweirich Is casting better? Or some other approach I’m not aware of?
-
-
@wycats shrug. I'm just saying that the complexity cost of generics seems high just to avoid some casting.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Java generics make it more difficult to write library code, and the class of bugs they block is small & uninteresting.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats@jimweirich Generics built-in from day one would be sensible. Bolted on after years, not so much (see "type erasure" crap)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats@jimweirich Never had a prob using with casting. Generics do add a lot of line noise. Implicit inference would help reduce verbosityThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.