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

What About Named Parameters?

I'm surprised Typescript has not tried to add this major missing feature from Javascript.

I know you can hack this using an Object, but for me Named Parameters are so useful for code readability and intent - especially for calling functions to make it obvious what's happening and to so that different order of arguments doesn't cause bugs.



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

Search: