<@U0BHS1Y07> &gt; We are talking about Lisp, righ...
# language-proposals
m
@voddan
We are talking about Lisp, right?
No, about Kotlin 🙂 Many things are expressions here, e. g.
if
,
when
,
throw
. Thus, some people call it expression-based. @elizarov
Consider this code
foo(bar = 1)
.
That explains. Thank you. (and Swift uses
:
for named arguments; it's interesting, how they handle assignments) @kirillrakhman
Declarations aren't expressions
Oh, really, all things written out of methods are not expressions simple smile