Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 29, 2018 Go 2 draft | ||||
---|---|---|---|---|
| ||||
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 |
August 29, 2018 Re: Go 2 draft | ||||
---|---|---|---|---|
| ||||
Posted in reply to JN | 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-generics-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).
|
August 29, 2018 Re: Go 2 draft | ||||
---|---|---|---|---|
| ||||
Posted in reply to JN | 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.
|
August 29, 2018 Re: Go 2 draft | ||||
---|---|---|---|---|
| ||||
Posted in reply to JN | 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.
|
Copyright © 1999-2021 by the D Language Foundation