D vs Go in real life

Walter Bright newshound2 at digitalmars.com
Sat Nov 30 22:43:17 PST 2013


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 pointer fp:

     int (*fp)(int);   // declare

     (*fp)(3);         // use



More information about the Digitalmars-d mailing list