JEP 477 Interacting with the Console
Cay Horstmann
cay at horstmann.com
Tue Jul 16 16:59:01 UTC 2024
On 16/07/2024 17.45, forax at univ-mlv.fr wrote:
> I think this is perfectly fine to not use "println" but "IO.println" instead and mention later that it can be abbreviated to "println".
Like I said, the JEP alternates between two separate aims for two different audiences: brevity for scripters, and clarity for beginners.
If the JEP says "scripters demand brief println, print, readln, and we've decided to give it to them", then, sure. In JEP 430, STR was a magic import. But that isn't what the JEP says. It claims this as a benefit for beginners, which is not plausible. Introducing special brief println, print, readln is likely to increase puzzlement with beginners.
That's the question I wish the JEP would address. Has this tradeoff been considered and deemed worthwhile?
Cheers,
Cay
--
Cay S. Horstmann | https://horstmann.com
More information about the amber-dev
mailing list