'Category' and 'Kind' terms are used to describe same thing.
Alex Buckley
alex.buckley at oracle.com
Mon Aug 17 22:51:35 UTC 2020
I agree that switching from "categories" to "kinds" is redundant. JLS
5.1 does the same thing: the section title "Kinds of Conversion" is
immediately followed by "Specific type conversions in the Java
programming language are divided into 13 *categories*."
"kinds" is far more common than "categories" in the JLS, so I will edit
4 and 5.1 accordingly.
Alex
On 7/17/2020 12:09 PM, Dmitry Lazutkin wrote:
> Hi. I found two sentences that use different wording to describe diversity
> of Java types.
>
> In introduction to *Chapter 4:*
>
> *The types of the Java programming language are divided into two
> categories: primitive types and reference types.*
>
> And further right at the beginning of *4.1. The Kinds of Types and Values:*
>
> *There are two kinds of types in the Java programming language: primitive
> types (§4.2
> <https://docs.oracle.com/javase/specs/jls/se14/html/jls-4.html#jls-4.2>)
> and reference types (§4.3
> <https://docs.oracle.com/javase/specs/jls/se14/html/jls-4.html#jls-4.3>).*
>
> IMHO: For me, as non-native English reader the terms 'Category' and 'Kind'
> in that context mean pretty much the same thing but have some subtle
> differences so I think that it would be better to use only one term
> (personally I vote for 'Category')
>
More information about the jls-jvms-spec-comments
mailing list