DIP 1030--Named Arguments--Community Review Round 1 Discussion

Arine arine123445128843 at gmail.com
Thu Feb 20 05:21:46 UTC 2020


On Wednesday, 19 February 2020 at 20:09:25 UTC, 12345swordy wrote:
> On Wednesday, 19 February 2020 at 20:04:56 UTC, Panke wrote:
>> On Wednesday, 19 February 2020 at 19:57:06 UTC, 12345swordy 
>> wrote:
>>> On Wednesday, 19 February 2020 at 19:34:53 UTC, bachmeier 
>>> wrote:
>>>> [...]
>>>
>>> What editor are you specifically talking about here and how 
>>> should it be done? Generating comments like this?
>>>
>>> go(\*a*\ 1);
>>>
>>> Alex
>>
>> E.g. CLion does it. In renders the parameter names at the call 
>> site without changing the code at all (it does not insert 
>> comments). It is a very useful feature. Granted, if that 
>> support was readily available for D than the argument for 
>> named parameters would be weaker.
>
> Isn't that mainly due to cpp having header files?
>
> -Alex

Jetbrains C# IDE also has the feature where the IDE shows the 
parameter names, rather than the names being embedded in the 
code. So not really limited to header files.


More information about the Digitalmars-d mailing list