DEVELOPERS: Terminology poll! I am interested in your understanding of the word “property,” regardless of programming language.
-
FOLLOW-UP #2: In the context of your day-to-day programming, does “attribute” mean the same thing as “property” to you?
-
@inthehands need an "i dunno i'd probably try to work out whether my audience cared" option
-
Rachael Ludwickreplied to Paul Cantrell last edited by
@inthehands probably would depend on language and the common conventions of that language community which, uh, maybe not great.
-
@trochee
This is for students, of course; trying to give them a sense of which terms are well-defined, because if I give them a sense of false precision, it’s going to confuse the crap out of them later. -
Paul Cantrellreplied to Rachael Ludwick last edited by
@r343l
This really seems to be the actual answer to all these questions. -
@ashwin @inthehands I have worked at a place — a household name even — where “grandfather the data” meant to “reprocess all the old data”, which is the *exact opposite* of what “grandfathering” something means
-
There's no law against misuse of words.
Some fools not understanding a word doesn't mean that the word itself has no clearly defined meaning.
-
@ashwin @jonathankoren
And that seems to end the issue, until that terrible day when you spend 20 minutes talking to a linguist and realizing that the fools using words is they very thing that •gives• them meaning. -
Kiran Castellino :he_him:replied to Oliphantom Menace last edited by
@oliphant @inthehands Accessors in JavaScript are very new, and they're just sugar for a getter/setter pair attached to an internal slot. They're only needed for the decorators proposal
-
Oliphantom Menacereplied to Kiran Castellino :he_him: last edited by
@kiranc @inthehands To be honest, my knowledge of them as accessors really precedes that, in Java and CFML.
And this reference refers to them as 'accessor methods' rather than 'properties', which is more of my understanding of what an accessor is.
Accessor and Mutator in Java - Javatpoint
Accessor and Mutator in Java with java tutorial, features, history, variables, programs, operators, oops concept, array, string, map, math, methods, examples etc.
www.javatpoint.com (www.javatpoint.com)
-
@inthehands
the property is the persistent modifiable state
how it's accessed or named is secondary -
T.J. Crowderreplied to Paul Cantrell last edited by [email protected]
@inthehands Throw the word "field" into this discussion, I dare ya.
-
Advanced Persistent Teapotreplied to Paul Cantrell last edited by
@inthehands none of the above, the correct answer is "theft"