Why optional parameters must appear at the end of the declaration

Posted by Incognito on Stack Overflow See other posts from Stack Overflow or by Incognito
Published on 2010-05-24T10:03:15Z Indexed on 2010/05/24 10:11 UTC
Read the original article Hit count: 355

In all programming languages supporting optional parameters that I have seen there is a imitation that the optional parameters must appear at the end of the declaration. No required parameters may be included after an optional item. What is the reason for that ? I guess it can be compiler/interpreter requirement.

© Stack Overflow or respective owner

Related posts about c#

Related posts about java