python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why do we need propertie's getter if property already does it's job in python?
Imagine two similar classes. First has property and getter and second one has only property. Property is doing the getter job already if we do not write getter explicitly.
So why do we need to define ...

alexche8
Votes: 0
Answers: 1
Javascript object with getId
Working with Ext JS 6.2, I need to create a JS object that has a getId method. Is there any default way to achieve this in JS?
MatiasGSP
Votes: 0
Answers: 0
Kotlin property delegation not working as expected
I'm confused about the different behaviour depending whether I use getters or delegated properties. Consider the following:
class Test {
class Parts(val a: String, val b: String)
var raw = &q...

digory doo
Votes: 0
Answers: 1
What is the equivalent for expression-bodied members in old C# versions?
In new versions of C# I have discovered recently that exist what is called expression-bodied-members as explained here.
An example of expression-bodied-members would be (for a getter property only):
p...

Willy
Votes: 0
Answers: 2