Hacker News new | ask | show | jobs
by mokanfar 2152 days ago
It's beginning to look a lot like -- typescript
1 comments

generally yes, but specifically here typescript does not have named parameters (yeah you can emulate with a hack through object literals which is sad)
What's sad about it? Having interfaces defining the arguments of functions with complex parameters in a type safe manner and with support for auto-completion is one of the greatest thing to ever happen to JavaScript in my opinion. And you get named function arguments as a by-product of something way more powerful than just that.