Kotlin: Properties vs Variables Hello folks! My f...
# feed
y
Kotlin: Properties vs Variables Hello folks! My friends often ask me about what's the difference between Properties and Variables in Kotlin all the time I spend my time explaining this. Yet no such questions from my friends programming in other languages. And the reason why this confusion is happening is that you define properties, variables and properties with variables in Kotlin using the same syntax. I recorded a small video which clearly shows the difference between all these cases:

https://youtu.be/OPe84g2o7f0

👍 2
This is crosspost from Reddit, but I think people in these 2 places are different
a
Do your friends and you really talk about properties vs. variables all the time? 😅