4 ms·
I'd argue that this.myValue = myValue is a lot clearer than the 'conventional' MyValue = myValue, unless you live in a world where your linter can mandate pasca
by dhruvmittal 6y ago
I'd argue that this.myValue = myValue is a lot clearer than the 'conventional' MyValue = myValue, unless you live in a world where your linter can mandate pascalcase for private fields always (and never otherwise).
It's too hard to rely on convention to communicate details across an org, especially when using 'this' is what your devs default to (perhaps a relic from their Java days in school).