metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattf-horton <>
Subject [GitHub] incubator-metron issue #414: METRON-532 Define Profile Period When Calling P...
Date Wed, 11 Jan 2017 18:31:48 GMT
Github user mattf-horton commented on the issue:
    A further comment on multiple optional parameters:  C++ allows multiple optional (defaulted)
arguments, and does not support named arguments.  The rule "if a later optional arg is provided,
all preceding optional args must also be provided, even if with trivial values", is exactly
what C++ does. It is also consistent with what Python does when multiple defaulted arguments
are provided positionally instead of as "named arguments" -- altho of course in Python one
probably would use the named args instead.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message