DIP 1019--Named Arguments Lite--Final Review

Andre Pany andre at s-e-a-p.de
Wed Aug 28 12:44:45 UTC 2019


On Wednesday, 28 August 2019 at 10:40:14 UTC, Yuxuan Shui wrote:
> On Tuesday, 27 August 2019 at 20:27:13 UTC, Jonathan M Davis 
> wrote:
>> [...]
>
> I am not saying having argument names can completely eliminate 
> the need to read the documents. But there are cases where the 
> function name and parameter names so obviously indicates what 
> the function does (e.g. createWindow(height: , width: )), if 
> the function actually does something else, it would mean it was 
> written terribly.
>
> And there are also cases where you have read the document of 
> the function, know what the function does, but cannot remember 
> exactly what each of the parameters are for. Having the name of 
> the parameters could help tremendously.
>
>> [...]

IntelliJ IDEA has a functionality to show parameter names in 
source code:

https://www.jetbrains.com/help/rider/Inline_Parameter_Name_Hints.html

This functionality does what the current goal of the DIP is.

Unfortunately it isn't currently implemented in the D plugin for 
Intellij.


Kind regards
Andre


More information about the Digitalmars-d mailing list