String reboot - (1a) incidental whitespace

Stephen Colebourne scolebourne at joda.org
Sun Apr 14 07:42:47 UTC 2019


On Sun, 14 Apr 2019, 00:58 Brian Goetz, <brian.goetz at oracle.com> wrote:
> The real question is, which default serves a greater percentage of the
use cases.

No, I think that's entirely the wrong question here.

The original string reboot thread got this right and the use case question
above is in danger of forgetting why there was a reboot at all. Part (1)
added multi line strings without complication - the simplest language
change that could work. Most people were happy with that, and if that was
all we get, it would be a big benefit to the language.

Alignment (1a) is an *additional* feature built on top of that. A new thing
with some subtle edge cases. ie. the whole premise of the tapas style
reboot is to be able to add simple multi line strings in Java 13 and
aligned multi line strings in Java 14, even if that isn't what actually
happens.

Stephen


More information about the amber-dev mailing list