Re: Question about IO.println

2025-03-14 Thread David Alayachew
Hey Stuart, Thanks for the response. Just to confirm, you are saying that IO.println would have a method that takes in StringTemplates? Or is it a case of calling join on our tenplates, and the IO API remains unchanged? Either way, StringTemplates are going to have a rippling effect on the Java e

Re: Question about IO.println

2025-03-07 Thread Stuart Marks
Hi, Our goal with the IO class is to have it add as few mechanisms as possible. Anything it can do, one should easily be able to do with existing classes like PrintStream or BufferedReader. So, we wouldn't add a varargs method to IO itself without having one in PrintStream or something. Now,

Re: Question about IO.println

2025-03-04 Thread David Alayachew
Sorry, forgot to link the thread. https://old.reddit.com/r/java/comments/1j2pr78/ And here is the comment in question. https://old.reddit.com/r/java/comments/1j2pr78/compact_source_files_and_instance_main_methods_jep/mfy9dof/

Question about IO.println

2025-03-04 Thread David Alayachew
Hello Amber Dev Team and Core Libs Dev Team, Another reddit discussion popped up today about IO.println(), and one of the comments mentioned that they wanted something along the lines of this. IO.println(num1, num2, num3); //prints out "1 2 3" I proposed that maybe a better option would be a Str