On Mar 28, 2018, at 4:13 PM, Dan Smith <[email protected]> wrote: > >> On Mar 23, 2018, at 1:41 PM, Brian Goetz <[email protected] >> <mailto:[email protected]>> wrote: >> >> I prefer the simplicity that "all expressions either complete normally or >> complete abruptly with cause exception." > > Just want to emphasize that this is a really important property of the > language, and of what we mean when we call some things "statements" and other > things "expressions". > > A good overview here: > > https://docs.oracle.com/javase/specs/jls/se10/html/jls-14.html#jls-14.1 > <https://docs.oracle.com/javase/specs/jls/se10/html/jls-14.html#jls-14.1> > > Of course, we can change these definitions. But introducing expressions that > can complete abruptly for control flow reasons is a significantly more > disruptive change than your typical "add a new kind of expression" feature.
+100
