Join Slack
Powered by
I’m trying to find the bit of kotlin documentation...
# codingconventions
a
arekolek
01/17/2018, 2:58 PM
I’m trying to find the bit of kotlin documentation that said replacing functions with val properties is fine as long as they return the same result over subsequent, invocations, work in constant time, etc. Anyone know where that was mentioned?
a
Andreas Sinz
01/17/2018, 5:33 PM
https://kotlinlang.org/docs/reference/coding-conventions.html#functions-vs-properties
a
arekolek
01/18/2018, 9:25 AM
OK, it says something different from what I remember it saying
arekolek
01/18/2018, 9:25 AM
Thanks for the link!
Open in Slack
Previous
Next