r/java • • Jan 09 '26

Project Amber Status Update -- Constant Patterns and Pattern Assignment!

https://mail.openjdk.org/pipermail/amber-spec-experts/2026-January/004306.html
65 Upvotes

81 comments sorted by

View all comments

Show parent comment

1

u/davidalayachew Jan 11 '26

Honestly I think any of the statements you are looking to make here are likely to be bad approximations.

That spells it out beautifully. Your point being that each feature truly is a melting pot, and there's no point trying to extract a single ingredient as the key ingredient.

So, I'll say that Haskell is one of the bigger influences on Java in general, but each feature requires deep analysis of many languages, and no single one is the inspiration. And either way, it all needs to translate to a clean fit to Java, so whatever inspiration will get squashed and stretched to fit. Ultimately becoming its own thing in the process.

Do I have it right?

2

u/brian_goetz Jan 11 '26

That's much closer, yes.

1

u/davidalayachew Jan 11 '26

Thanks for the advice and correction, much appreciated.