Submitted by twovests in programming
say you got a function to draw a circle.
draw_circle(float x, float y, float r, string line_color, string fill_color)
In Python, you don't need to know the order of the arguments! You can do
draw_circle(r=16, x=32, y=32, line_color="#ff0000", fill_color = "#00ff00")
(Note that the order of arguments differ.)
I really like that, and just learned that it's not in most other languages :(
flabberghaster wrote
I think my favorite feature along these lines is splatting.
it works the other way too. It's such a useful feature!