I believe it was in regards to the topic of var and/or API documentation months ago.
Regardless, you're saying it again:
Anyway, the new record method names are fully consistent with the naming standard for record methods and not consistent with things that are not record method names.
Records don't exist in a vaccum. To argue this is disingenuous and I'd hope as a JDK developer you'd realize that.
BTW, it's OK to be frustrated that other people have different opinions from yours -- most of us are frustrated by that -- but constantly blaming that on some flaw on their part is counterproductive. Even if your opinion is reasonable, the opposite opinion can be at least as reasonable.
Was anything said really an opinion?
Getter methods in previous Java APIs were commonly prefixed with "get" and many APIs rely on that.
There are methods that still have the "is" prefix for boolean checks.
var is now used in documentation without providing any value or makes the documentation muddy. There was a highly upvoted comment to my article thread like half a year ago agreeing that this is a thing.
Many newer language "features" have had "concise"ness as a motivation for their introduction into the language. Often times the JEP pages cite people complaining that Java isn't concise and is ceremonious.
So i'd like to know what part of any of that(at the core) is subjective/opinionated.
Your statement that var does not provide a benefit for documentation is an opinion. If we take the claim that language features are motivated by conciseness (only or primarily) as an objective assessment, then, at least as far as records and var are concerned, it is just wrong.
Your statements that var does not provide a benefit for documentation is an opinion.
Is it? If the specific documentation is inconsistent with other documentation & omitted important type information(which is important for documentation) then surely it can be objectively concluded that it provides no benefit.
3
u/BlueGoliath Jan 16 '20 edited Jan 16 '20
I believe it was in regards to the topic of
varand/or API documentation months ago.Regardless, you're saying it again:
Records don't exist in a vaccum. To argue this is disingenuous and I'd hope as a JDK developer you'd realize that.
Was anything said really an opinion?
Getter methods in previous Java APIs were commonly prefixed with "get" and many APIs rely on that.
There are methods that still have the "is" prefix for boolean checks.
varis now used in documentation without providing any value or makes the documentation muddy. There was a highly upvoted comment to my article thread like half a year ago agreeing that this is a thing.Many newer language "features" have had "concise"ness as a motivation for their introduction into the language. Often times the JEP pages cite people complaining that Java isn't concise and is ceremonious.
So i'd like to know what part of any of that(at the core) is subjective/opinionated.