ARM syntax and new keywords
reinier at zwitserloot.com
Fri Nov 27 03:21:44 PST 2009
+1 on the backticks. Looks better (no need for subsequent string quotes),
doesn't use up an extremely valuable symbol (pretty much the last easily
typable one that has no current meaning in java code), is the same as other
JVM languages that have this feature (well, mostly scala, but then that's a
pretty big one, as far as non-java languages on the VM go), which is extra
relevant because a major reason to use the identifier escape is for
multi-language interop. Not to mention the confusion with closure syntax.
Please please pretty please, change it?
On Fri, Nov 27, 2009 at 12:05 AM, Neal Gafter <neal at gafter.com> wrote:
> I agree. Backticks would be a much better syntax for exotic identifiers.
> As far as I can tell, the jsr292 changes that got folded into javac have
> been influenced by feedback from the coin mailing list.
> On Thu, Nov 26, 2009 at 2:39 PM, Artur Biesiadowski <abies at adres.pl>
> > Neal Gafter wrote:
> > > This has nothing to do with closures (there is a separate email list
> > > that anyway). The #"name" syntax was added to give a way of using
> > "exotic"
> > > identifiers that would otherwise be disallowed.
> > We will have to answer questions about closures relation to
> > identifier-like variables for next 10 years if #"abc" syntax is chosen
> > and closures also use # syntax.
> > What is wrong with Scala approach of using backticks? Looks reasonable
> > and won't be confused with possible closures. It is a pain to enter on
> > certain keyboard settings, but it is going to be needed only in
> > exceptional cases.
> > With best regards,
> > Artur Biesiadowski
More information about the coin-dev