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

Python's kwargs are still optional in the sense that I care about. Same goes for many other kwarg-supporting languages.

The strategy you propose can only force other people to use kwargs when calling functions you write. When you're reading code, there is no guarantee that arguments to functions you didn't write will be labeled, and indeed they often aren't, even when they ought to be. In ObjC, all arguments are labeled, always. It's heavily opinionated, and the experience is qualitatively different as a result.



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

Search: