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

Jon via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 19 17:42:41 PST 2015


On Tuesday, 20 January 2015 at 01:35:17 UTC, 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?

Sure. If it is a very commonly-used function (like a library 
function), the definition is probably in a different file from 
the one most of the invocations are in anyhow.

-Jon


More information about the Digitalmars-d mailing list