[fpc-pascal] named parameter
Marco van de Voort
marcov at stack.nl
Sun May 28 20:24:42 CEST 2017
In our previous episode, Bernd Oppolzer said:
> IMO, it's not about named parameters;
> furthermore, it is not about readability, but this IMO
> is a maintenance issue.
>
> Think about a procedure that has two parameters and a lot of callers
> and you want to add a third one.
>
> it would be nice if you could specify a default value for the new
> third parameter and don't have to change all the callers that use
> only two.
Yes, that is why Visual Basic had it, but I thought the whole concept was
nowadays considered old fashioned and baroque.
More information about the fpc-pascal
mailing list