Join Slack
Powered by
hi! can i declare something like `some.thing.like`...
# getting-started
t
trofman
06/18/2021, 6:28 AM
hi! can i declare something like
some.thing.like
as
one
without doing
val one = some.thing.like
?
m
Michael Böiers
06/18/2021, 8:12 AM
Why obfuscate it?
Michael Böiers
06/18/2021, 8:13 AM
I mean, how much more concise could it be?
b
Bmyte
06/18/2021, 2:34 PM
Depends on the context. Do you need the variable "one" to persist or would it be temporary and could be wrapped in something like a with or let lambda?
3
Views
Open in Slack
Previous
Next