www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Go 2 draft

reply JN <666total wp.pl> writes:
Found this interesting link on proggit - 
https://go.googlesource.com/proposal/+/master/design/go2draft.md

D is mentioned in the generics part:

https://go.googlesource.com/proposal/+/master/design/go2draft-generics-overview.md
Aug 29 2018
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
On 29/08/2018 7:03 PM, JN wrote:
 Found this interesting link on proggit - 
 https://go.googlesource.com/proposal/+/master/design/go2draft.md
 
 D is mentioned in the generics part:
 
 https://go.googlesource.com/proposal/+/master/design/go2draft-
enerics-overview.md 
 
I like their design for contract's, it looks rather fitting for the language. It's a real scaled back approach to a full blown signature design (which I want + WIP DIP).
Aug 29 2018
prev sibling next sibling parent Joakim <dlang joakim.fea.st> writes:
On Wednesday, 29 August 2018 at 07:03:13 UTC, JN wrote:
 Found this interesting link on proggit - 
 https://go.googlesource.com/proposal/+/master/design/go2draft.md

 D is mentioned in the generics part:

 https://go.googlesource.com/proposal/+/master/design/go2draft-generics-overview.md
Interesting document, it's a good sign that the D generics syntax reads the best to me. Good to see Go recognize that and reuse it, though without the exclamation point, which marks D template instantiations and they should use too.
Aug 29 2018
prev sibling parent Neia Neutuladh <neia ikeran.org> writes:
On Wednesday, 29 August 2018 at 07:03:13 UTC, JN wrote:
 https://go.googlesource.com/proposal/+/master/design/go2draft-generics-overview.md
I had a glance at the proposals. The handler proposal seems not to account for errors during error handling. Can you have nested `handler` blocks? What would that do? Well, they'll figure it out eventually.
Aug 29 2018