Finding the right keyword for new features (was "Re: Could we change the syntax for when clauses?")

David Alayachew davidalayachew at gmail.com
Wed Dec 7 19:47:23 UTC 2022


Makes a lot of sense Brian, ty. And I can certainly agree with the
@interface. Flexible as it is, it's one of the more confusing parts of the
language to interact with.

> Imagine you're a new developer learning Java.
> We should strive to make the features we add
> look like they were there all along.

I definitely hear you now. You're saying that new language features should
be as seamless as possible because that cohesiveness facilitates learning
for beginners and experienced devs alike.

~

> #PS: #to #make #my #answer #more #simple
> #and #expressive, #I've #prefixed #every
> #words #which #is #not #a #Java #class
> #or a #method #by #the #sign ##

Lol, point taken #Rémi. Both of you are very much correct. I see the flaw
in the logic and how it is certainly not a good fit for the language. I'll
try and think my suggestions through more in the future.

But I must say, your code does not compile. :P

> RemiSnark.java:3: error: '#' expected
>     #or a #method #by #the #sign ##
>         ^
> 1 error

Thank you both for your time and help!
David Alayachew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20221207/a7ab7afc/attachment-0001.htm>


More information about the amber-dev mailing list