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

FWIW, Obj-C doesn't have keyword arguments. It just has infix method names. But all arguments in an Obj-C method are required, and the order is significant.

Similarly, in Swift, the order of defaulted arguments is significant. So you wouldn't see anyone do something like that crazy matplotlib method in Swift, because remembering the order of all the arguments in that function is impractical.



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

Search: