Same things? I don't know what you mean, It was a language feature back in the 2.7 days I think? I was a long time ago, hard to remember when they got rid of it. It's really nice for this:
val color = List(
"Red",
"Yellow",
"Green",
)
If I want to add a 4th element I just ctrl+alt+down, I don't have to go back up and add the comma at the end of the last line, I spend too much time juggling commas in lists for my liking.
Some programmers work around it like this (which breaks head-inserting, but that's typically a lot less common) :
List("Yellow"
,"Red"
,"Green"
)
Which is pretty ugly (to me). It's one of those minor QOL improvements where I don't see what the downside is.
Some programmers work around it like this (which breaks head-inserting, but that's typically a lot less common) :
Which is pretty ugly (to me). It's one of those minor QOL improvements where I don't see what the downside is.Frankly I wish every language had this feature.