4 ms·
Named arguments are such a good idea.
by paulddraper 3y ago
Named arguments are such a good idea.
- Quekid5 3y agoSadly, many languages that have them make the parameter names optional at the call site. That's a language design mistake, IMO.
- hu3 3y agoI agree. Fortunately IDEs can fill this gap by displaying parameter hints. https://blog.jetbrains.com/phpstorm/2017/03/new-in-phpstorm-2017-1-parameter-hints/ https://blog.jetbrains.com/phpstorm/2017/03/new-in-phpstorm-...
- Quekid5 3y agoIt's definitely an improvement, but it doesn't fix the fundamental issue :/