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.
-
Show this thread
-
-
Replying to @jvican
I haven't found a better way of making my (long) return types clearer...
2 replies 0 retweets 0 likes -
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.
4:39 AM - 24 Jul 2018
0 replies
0 retweets
0 likes
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.
