Creator Applications
Your roving Dotty reporter with more on the possible move away from needing to say “new”:
The latest on this is a PR for a new feature called “creator applications”. For the details, see this documentation page in the PR, but the tl;dr is that they are trying to take the new-less syntax that we are all used to from case classes, and make it more broadly applicable to classes in general, by tweaking the syntax slightly. It specifically does not work by synthesizing an artificial apply()
method the way that case classes do, but instead adds another syntax rule to make this construction syntax actually part of the language.
As always, please keep in mind that this is extremely preliminary — just a PR, not merged to master yet, much less committed to Scala 3. But I like this one, personally: it removes a weird little inconsistency from the language, trims a little boilerplate, and hopefully removes the incentive to abuse case classes in order to avoid the word new
…