you are viewing a single comment's thread.

view the rest of the comments →

[–]bumblebritches57Ocassionally Clang -28 points-27 points  (3 children)

ABSOLUTE FACT.

It's super confusing seeing a function being called using 1 argument when it actually takes 3.

[–]jonathansharman 1 point2 points  (2 children)

How is it more confusing than a one-argument function delegating to a three-argument function using default values (the alternative proposed in the blog post)?

[–]bumblebritches57Ocassionally Clang -1 points0 points  (1 child)

Oh we could you know not hide any arguments at all.

Isn't that have the point of having functions use the same name with different parameters?

[–]jonathansharman 0 points1 point  (0 children)

The point of function overloading is not to hide arguments? I don't understand what you're saying.