<i18n dev> RFR: 8342863: Use pattern matching for instanceof in equals methods of wrapper classes
Joe Darcy
darcy at openjdk.org
Wed Oct 23 18:28:40 UTC 2024
On Wed, 23 Oct 2024 16:10:01 GMT, Chen Liang <liach at openjdk.org> wrote:
>> In other place in the code, I've written out "ell" to avoid any confusion between lowercase "l" and a number "1", etc.
>
> What does "ell" stand for? Looks like "eel" to me.
> That aside, if there's no good name, we usually use `that` or `o` for the casted variable, like
>
> return obj instanceof Long that && this.value == that.value;
"ell" is a way to write out the name for the letter "L" phonetically.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21652#discussion_r1813316500
More information about the i18n-dev
mailing list