<div dir="auto">I always through System.console() was designed as the scanner successor in terms of <a href="http://std.in/out">std.in/out</a>. It provides feedback rather a console even exists and provides useful functionality for console application. Meanwhile many of the Console class methods are equal to the interface suggested here.<div dir="auto">Correct me if I'm wrong but aren't tutorials just "behind the loop" that even new tutorials teach scanner and input streams instead of their modern improved counterparts?</div><div dir="auto"><br></div><div dir="auto">Great regards </div><div dir="auto">RedIODev </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 9, 2023, 21:47 Brian Goetz <<a href="mailto:brian.goetz@oracle.com">brian.goetz@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
  <div>
    <font size="4"><font face="monospace">I don't disagree that Scanner
        is suboptimal, and I'm happy to entertain proposals for a
        replacement.  But that's a separate project, and I think holding
        this one because someday we can improve Scanner is not the right
        move.  <br>
      </font></font><br>
    <div>On 5/9/2023 3:40 PM, Remi Forax wrote:<br>
    </div>
    <blockquote type="cite">
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Hi Brian, i agree with what you are saying, but Reiner is
        right on one point, students will run into Scanner pretty early,
        when we introduce loops in our curriculum, working on files
        redirected into stdin is the source of numerous exercises.</div>
    </blockquote>
    <br>
  </div>

</blockquote></div>