I think we need dedicated threads for all the different syntax changes to discuss them separately (or grouped together where it makes sense, just not all in one thread). I start here with the new array and list syntaxes.
I, for one, like the default to []
instead of [||]
because this confuses a lot of beginners coming from JS.
I just wondered if there would be a better alternative to list[]
except of just swapping it with the [||]
of arrays now, but I could not think of (at least it’s not just new List()
).