Inline parameters for constructors

This sounds rather interesting. Could it also prevent creation of unnecessary objects in code such as 1.to(100).map(...) (would the range not be created each time?)?

2 Likes