IN and OUT template processors ?
Brian Goetz
brian.goetz at oracle.com
Tue Jun 6 14:03:16 UTC 2023
> thinking a little bit about STR and FMT, I wonder if we should not introduce also two other template processors, IN and OUT.
>
> IN is the input template processor, it asks a user for a string on the standard input
> String name = IN."what is your name ?";
>
> It works like input (raw_input) in Python or scanf in C.
OMG, please no. Having a template processor do side-effects would be
awful.
More information about the amber-spec-experts
mailing list