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

It's pretty funny that named arguments were, for a long time, a feature present only in Objective-C of all the languages I tried (and I tried many).

It was one of the features of Objective-C I liked and I missed in any other language. I also think they were one of the reasons many developers disliked the language.

When Swift was introduced, it got named parameters from Objective-C and now they are getting more "mainstream", entering in a language much more widespread than the former two.



Python has had named arguments for a long time (since v1.4), which is arguably more widespread than PHP or Swift.




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

Search: