Join Slack
Powered by
Kotlin: should I define Function or Property? by <...
# feed
m
marcinmoskala
04/11/2018, 10:02 AM
Kotlin: should I define Function or Property? by
@igor.wojda
https://blog.kotlin-academy.com/kotlin-should-i-define-function-or-property-6786951da909
👍 3
➕ 2
t
tmg
04/11/2018, 11:12 AM
In the last example shouldn't it be a
var
property? the "java way" has a getter and setter.
m
marcinmoskala
04/11/2018, 3:54 PM
Yes, it should
t
tmg
04/11/2018, 3:58 PM
then
@igor.wojda
should be notified
i
igor.wojda
04/11/2018, 6:46 PM
Good spot
@tmg
, thx fixed
2
Views
Open in Slack
Previous
Next