Join Slack
Powered by
Hi all. Are there any plans for making `lazy` a pr...
# language-proposals
g
gregd
01/09/2017, 8:14 PM
Hi all. Are there any plans for making
lazy
a proper keyword in K (similar to Swift)? I found myself using “laziness” more often than I expected, and thus writing
val userDAO by lazy { UserDAO() }
looks far more awkward than
lazy val userDAO = UserDAO()
Open in Slack
Previous
Next