Scala's `new` syntax is an anomaly. I'd rather say `new[Foo](x, y, z)`, or just `new(x, y, z)` if `Foo` is the expected type.
-
-
Replying to @propensive
@propensive TBH I am more and more against `new` at all, since it precludes instance reuse. (i.e. only makes sense for mutability)2 replies 1 retweet 0 likes -
Replying to @viktorklang
@viktorklang Particular thing that gets me is the precedence of dot vs space in, e.g., `new Foo().bar`.2 replies 0 retweets 0 likes
@viktorklang Which, of course, is different from `new http://Foo.bar `!
2:17 AM - 10 Jan 2015
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.