New candidate JEP: 464: Scoped Values (Second Preview)

Eric Kolotyluk eric at kolotyluk.net
Fri Dec 1 16:33:29 UTC 2023


Yes, that is further clarifying. Thank you.

Eric

On 2023-12-01 2:51 a.m., Arnaud Masson wrote:
>
> Scala implicits are pulled from lexical scope, it’s more compile time 
> stuff, even if it shares the idea of separating where a value is 
> published from where it is consumed.
>
> Arnaud
>
> *De : *loom-dev <loom-dev-retn at openjdk.org> de la part de Andrew Haley 
> <aph-open at littlepinkcloud.com>
> *Date : *vendredi, 1 décembre 2023 à 11:41
> *À : *loom-dev at openjdk.org <loom-dev at openjdk.org>
> *Objet : *[EXTERNAL] Re: New candidate JEP: 464: Scoped Values (Second 
> Preview)
>
> On 11/29/23 21:18, Eric Kolotyluk wrote:
> > As an aside, someone noted, I forget where, that Scoped Values are a
> > little like 'implicits' in Scala, now 'given' and 'using.' I have never
> > really liked implicit in Scala, mostly because it was abused so
> > frequently, but this JEP better explains the use case.
>
> I still don't understand Scala implicits. I must have another read. :-)
>
> -- 
> Andrew Haley  (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com >
> https://keybase.io/andrewhaley <https://keybase.io/andrewhaley>
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
> Unless otherwise stated above:
>
> Compagnie IBM France
> Siège Social : 17, avenue de l'Europe, 92275 Bois-Colombes Cedex
> RCS Nanterre 552 118 465
> Forme Sociale : S.A.S.
> Capital Social : 664 069 390,60 €
> SIRET : 552 118 465 03644 - Code NAF 6203Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20231201/29e84edd/attachment.htm>


More information about the loom-dev mailing list