It's more code like a class and don't leak 'this' as Ali and Maurizio said.
Rémi ----- Mail original ----- > De: "Brian Goetz" <brian.go...@oracle.com> > À: "John Rose" <john.r.r...@oracle.com>, "Maurizio Cimadamore" > <maurizio.cimadam...@oracle.com> > Cc: "valhalla-spec-experts" <valhalla-spec-experts@openjdk.java.net> > Envoyé: Vendredi 18 Mai 2018 22:05:15 > Objet: Re: Towards Minimal L World >> Thesis: Value constructors are the same notation as VBC constructors. > > +1. I don't think its a good use of our "user model complexity budget" > to have a different way to write these guys. It also facilitates > migration. And "Codes like a class" has a pretty sensible answer for > "how do I write a constructor."