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

I've seen libraries whose functions only accept `*kwargs` and you need to open the documentation (or read the body of the function) to be able to use that function.

If you know how many parameters it's easier.

If parameters have names that you can understand it's even easier.

If parameters even let you know what kind of value they want it's also easier.

When I read python I'm not reading a novel. I want to know how to use a function, and possibly I want to know that without reading the function.

So it might make 1 line harder, but makes me skip reading 50 lines.



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

Search: