gortiz commented on issue #14404:
URL: https://github.com/apache/pinot/issues/14404#issuecomment-2467469252

   > as it is slightly more readable
   
   I think that is very subjective. People coming from C background may find it 
more readable, but people coming from more modern languages where strings can 
be concatenated with `+` (Java, JavaScript, Go, Python, etc).
   
   IMHO the only place use case `format` is acceptable is when we need to print 
in a formatted way. For example, when we need to print an in using exactly 8 
characters (filling with spaces if necessary). In all other cases it is not 
easier to read.
   
   In terms of performance it is always the worse alternative, given they are 
not optimized at compile time (like a macro in Rust would be).


-- 
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: commits-unsubscr...@pinot.apache.org

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


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

Reply via email to