Any advantages over other? Please suggest.
# getting-started
m
Any advantages over other? Please suggest.
k
Please don't post pictures of code.
9
And don't post phone pictures of computer screens either 😱
9
b
On an interface they're pretty much the same. It's just how you invoke it. The rule of thumb afaik is use function if it should be cached into a variable because of it being computationally heavy. Otherwise, properties are usually more straight forward
n
@Alowaniak Does it also apply to properties with overwritten get/set?
k
What's the difference? Users shouldn't care whether a property if overridden or not.
☝️ 1