Join Slack
Powered by
what benefits does `emptyList<String>()` hav...
# language-proposals
a
anlex N
03/26/2024, 6:05 AM
what benefits does
emptyList<String>()
have compared to
listOf<String>()
?
r
Ruckus
03/26/2024, 6:06 AM
Again, wrong channel.
#getting-started
is a better channel for these kinds of questions.
j
Jacob
03/27/2024, 6:10 PM
The empty list is already allocated. ListOf creates a new empty list
3
Views
Open in Slack
Previous
Next