Fleshgrinder commented on pull request #9374:
URL: https://github.com/apache/kafka/pull/9374#issuecomment-704057098


   @chia7712 the server gets null right now, and the code you propose is more 
or less what I had originally. However, at least @rondagostino was directly 
confused by the ternary and precedence that's why we rewrote it to be easier to 
understand and easier to debug (now it's possible to set individual 
breakpoints). Modern languages like Kotlin and Rust have no ternary for a good 
reason. 😉 Imho it's better as is, despite being longer, especially because 
length doesn't translate directly to complex.


----------------------------------------------------------------
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.

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


Reply via email to