Re: [External] : Re: RFR - Implementation of JEP-430 String Templates (Preview) CSR

2022-10-27 Thread Jim Laskey
some more thinking, it may be not that bad and at least the API is very simple to use. Rémi From: "Remi Forax" To: "Jim Laskey" Cc: "core-libs-dev" Sent: Wednesday, October 26, 2022 11:25:58 AM Subject: Re: RFR - Implementation o

Re: RFR - Implementation of JEP-430 String Templates (Preview) CSR

2022-10-27 Thread Remi Forax
> Cc: "core-libs-dev" > Sent: Wednesday, October 26, 2022 11:25:58 AM > Subject: Re: RFR - Implementation of JEP-430 String Templates (Preview) CSR > Each time i re-read this JEP, i'm more and more sorry about its state. > - we are breaking how Strings worked, now everythin

Re: RFR - Implementation of JEP-430 String Templates (Preview) CSR

2022-10-26 Thread Remi Forax
latedString(template, arguments)) which is far less efficient because both the class and the template are constants while the instance and the arguments are not. Rémi > From: "Jim Laskey" > To: "core-libs-dev" > Sent: Tuesday, October 25, 2022 6:41:05 PM >

RFR - Implementation of JEP-430 String Templates (Preview) CSR

2022-10-25 Thread Jim Laskey
Request for a broader review of the String Template APIs for JEP 430. Summary: Enhance the Java programming language with string templates, which are similar to string literals but contain embedded expressions. A string template is interpreted at run time by replacing each expression with the r