Perhaps it's just as simple as "square braces are ...
# getting-started
n
Perhaps it's just as simple as "square braces are syntactic sugar for calling the 'set' method on the given object"?
🧵 1
ah, yeah, that's it. https://spring.io/guides/tutorials/spring-boot-kotlin/ sorry, as usual i find my own answer immediately after asking the question.
c
The general term for this in Kotlin is “operator overloading”, and operator functions can be implemented either as member or extension functions https://kotlinlang.org/docs/operator-overloading.html#indexed-access-operator
n
Thank you very much for the reference, i appreciate it. That makes perfect sense.
This is a beautiful language
K 6