Proposal: Function declaration with keyword
Scott S. McCoy
tag at cpan.org
Sun May 4 17:45:44 PDT 2008
There isn't much reason, so far as I can see, for a function keyword.
I've never really mixed up:
int foo;
and
int foo () {
}
Something about the later just, sticks out at me as not being the
former. Maybe it's the curly brackets, or the prototype. Dunno!
I don't really want too much syntax added that can't be inferred,
particularly in a language like D which appears to favor inference.
More information about the Digitalmars-d
mailing list