Hacker News new | ask | show | jobs
by Infinitesimus 2224 days ago
That's not obvious from the function name though. The function definition could easily be `DrawRectangle(SolidColor, CornerRadii, Point)` and you wouldn't know by seeing a bunch of `DrawRectangle(RedBrush, new(1,2,4,5), Point(4,5,2,2))` would you?

It's still nice to have the option in cases where it improves readability (maybe with named args or sth)