14 years into Scala, I'm experimenting with a new way of formatting my code. I've started column-aligning each opening `(` of explicit/implicit parameter block, and the `:` of the return type in method/class definitions, with a four-space indent for long lines. Liking it so far.
-
-
I’m just trolling Jon
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
use type aliases?

-
It's a good suggestion, actually! I think I hit a compiler bug when I tried before, though... two layers of aliasing seemed to be too much, but I didn't investigate further.
End of conversation
New conversation -
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.