On Wed, 6 Aug 2025 06:57:55 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> If we don't adopt the enum I suggested, then I do prefer the naming of the 
>> condition through a variable. It gives you a hint of what the check is 
>> looking for, and not only what the check does.
>
> That is what comments are for.

I'd rather explain things with code than with comments when possible.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26600#discussion_r2256207131

Reply via email to