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
y9san9
10/31/2024, 3:36 PM
This is crosspost from Reddit, but I think people in these 2 places are different
a
Arjan van Wieringen
10/31/2024, 7:24 PM
Do your friends and you really talk about properties vs. variables all the time? 😅