nastra commented on issue #6625:
URL: https://github.com/apache/iceberg/issues/6625#issuecomment-1398623955

   I also like annotations like `@Nullable` to indicate that certain things in 
the API can be nullable as this makes it easier to consume that particular API 
and reason about it. 
   Maybe we don't need something like `@NonNull` (given that we'd have to agree 
from which library we'd want to use that annotation) if we could imply that 
whatever doesn't have `@Nullable` is automatically non-null.
   An alternative would be the usage of `Optional`, but `@Nullable` would be my 
preferred option.
   However, I'd like to hear opinions & thoughts from other people as well on 
that topic.
   
   @jackye1995 should we maybe raise this discussion topic on the mailing list 
in order to increase visibility for people?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to