Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :/




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

Search: