Naming of StructuredTaskScope.Subtask.State

Chen Liang chen.l.liang at oracle.com
Mon Dec 2 20:16:29 UTC 2024


I agree; I recommend changing SUCCESS to SUCCESSFUL in the 5th preview.
________________________________
From: loom-dev <loom-dev-retn at openjdk.org> on behalf of Robert Scholte <rfscholte at apache.org>
Sent: Sunday, December 1, 2024 1:11 PM
To: loom-dev at openjdk.org <loom-dev at openjdk.org>
Subject: Naming of StructuredTaskScope.Subtask.State


Currently the states have been named Failed, Success and Unavailable, which are grammatically different types.

I think there are discussions if states should be nouns or a verbs, but I don’t think it should be a mixture.



I would expect Success + Failure or Succeeded + Failed.

Maybe there are even better options.



Thanks,

Robert Scholte


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20241202/2dee3023/attachment-0001.htm>


More information about the loom-dev mailing list