Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
necovek
· 3y ago · 0 comments
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)
Comments
[–]
matthewwolfe
3y ago
And using objects to do the same thing in JS
[–]
jjice
3y ago
Seems fairly common in PHP too, depending on the code base you're looking at.