D vs Go in real life

Walter Bright newshound2 at digitalmars.com
Wed Dec 4 14:11:43 PST 2013


On 12/4/2013 2:33 AM, eles wrote:
> On Sunday, 1 December 2013 at 06:43:13 UTC, Walter Bright wrote:
>> On 11/30/2013 1:19 PM, Chris Cain wrote:
>>> C, however, is a horrific mess.
>>
>> The trick to reading C declarations is the form matches exactly how it is used
>> in an expression. For example, a function
>
> They acknowledge that here:
>
> http://blog.golang.org/gos-declaration-syntax
>
> but they give a nice convoluted counter-example; read this:
>
> int (*(*fp)(int (*)(int, int), int))(int, int)

It's not a counterexample. It's still the same as how you'd use it in an expression.


More information about the Digitalmars-d mailing list