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

Keyword arguments in function/method calls in Python: not having to remember order of arguments and making more readable code.

  bars = foo2bar(foo=my_foo, cache_service=redis_cache)


And using objects to do the same thing in JS


Seems fairly common in PHP too, depending on the code base you're looking at.




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

Search: