Skip to main content
10 events
when toggle format what by license comment
Aug 28 at 21:04 history bumped Community CompilerBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 30 at 14:45 comment added feldentm If they have to add a new keyword, how can it be in line with what existed otherwise?
Jul 29 at 20:46 answer added Brian timeline score: 0
Jul 29 at 16:31 comment added Criticizing Israel not allowed Why would it be a bad idea? It's just like Java doesn't automatically return the result of the last expression in a function but rather requires the "return" keyword to indicate that it is being returned.
Jul 28 at 6:18 comment added feldentm @MichaelHomer wouldn't there be an easy fix by adding braces and extending the break label code to hint that a brace might be required if this really is ambiguous?
Jul 28 at 6:17 comment added feldentm @AlexisKing "The greater the divergence between switch..."; it's actually what made me ask this question, because it literally took me 15min to figure what all the error messages meant. It feels as if they have taken a complex route that is also different to what most others did if I'm not mistaken.
Jul 27 at 22:00 comment added Alexis King “the very last paragraph of that documents indicates that such a move would be a bad idea.” I don’t understand this sentence. What paragraph are you referring to? What do you mean by “such a move”? I looked at JEP 354, and I have no idea what you’re talking about.
Jul 27 at 21:53 comment added Michael Homer break expr seems to conflict with ordinary labelled break statements, so if anything it's more surprising that it made it into JEP 325 than that it wasn't used in the end.
Jul 27 at 13:03 comment added feldentm Maybe a second question: Are there any ambiguities preventing an IDE from just inserting the yield as a quick fix? Since return also doesn't seem to be allowed there are only obscure other alternatives.
Jul 27 at 13:02 history asked feldentm CC BY-SA 4.0