In Kotlin, assignments are not expressions. But ar...
# getting-started
f
In Kotlin, assignments are not expressions. But aren't increment and decrement operators also assignments technically?
k
What's the point of that question? Feel free to call them assignments, or just call them increment and decrement.
f
I am preparing a tutorial so I need to get rid of any uncertainty
t
In other languages, they are expressions with an assignment side effect, but that might not be how Kotlin handles them.
f
Yea I guess it makes sense this way
k
The Kotlin grammer doesn't call it an assignment, https://kotlinlang.org/docs/reference/grammar.html#assignment
f
oh I see