JEP 495: java.io.IO.printf(String format, Object... args)

Brian Goetz brian.goetz at oracle.com
Mon Dec 2 20:57:17 UTC 2024


We are actively trying to minimize what goes into IO, so our approach right now is an aggressive “if in doubt, leave it out."

On Dec 1, 2024, at 9:06 AM, Henrik Wall <xehpuk.dev at gmail.com<mailto:xehpuk.dev at gmail.com>> wrote:

Hey folks,

I'd love to write formatted strings to System.out in a concise way. print("".formatted()) feels wrong, because we already have printf(String format, Object... args).

Have you considered adding it to java.io.IO<http://java.io.io/>?

Regards,
xehpuk

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


More information about the amber-dev mailing list