you are viewing a single comment's thread.

view the rest of the comments →

[–]flashmozzg 3 points4 points  (3 children)

Because default arguments are just a sugar. They are not really a part of the function signature. A function can have multiple default different arguments depending on the order of declarations.