Like Go/Rust, why not to have "func" keyword before function declaration

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 20 05:28:14 PST 2015


On 1/19/15 8:35 PM, Ary Borenszweig wrote:
> On 1/19/15 9:17 PM, Walter Bright wrote:
>> On 1/19/2015 2:49 PM, Ary Borenszweig wrote:
>>> So... how do you search for a function definition in D without an IDE?
>>
>> I do a text search for the name of the function.
>>
>> I've been programming in C, C++, and D for 30 years without an IDE. It
>> never occurred to me that this was not doable :-)
>
> But the results will also contain invocations of that function. Do you
> go one by one until you find the definition?

Yep. Do it all the time. It's not that hard to see the difference 
between a definition and usage.

-Steve


More information about the Digitalmars-d mailing list