Hacker News new | past | comments | ask | show | jobs | submit login

Named arguments are such a good idea.



Sadly, many languages that have them make the parameter names optional at the call site. That's a language design mistake, IMO.


I agree. Fortunately IDEs can fill this gap by displaying parameter hints.

https://blog.jetbrains.com/phpstorm/2017/03/new-in-phpstorm-...


It's definitely an improvement, but it doesn't fix the fundamental issue :/




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: