Like Go/Rust, why not to have "func" keyword before function declaration
MattCoder via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 20 05:49:47 PST 2015
On Tuesday, 20 January 2015 at 13:47:11 UTC, ketmar via
Digitalmars-d wrote:
> void function foo () { ... }
> foo();
>
> do you see the subtle difference? yes, that tiny whitespace in
> declaration. i borrowed that habit from some Oberon code
> decades ago, and it serves me well since then.
Hmm, nice one. I think I'll do this too.
Matheus.
More information about the Digitalmars-d
mailing list