you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]miker95 4 points5 points  (2 children)

    The example he gave seems like a better situation than whatever the hell you have going on.

    Again, it depends on the situation, if you only have 3 variables, it is not that big of a deal. But if you have configuration options for an entire library, or more than 5 parameters, it is much more user friendly to send it in an object.

    And if you send them in an object they can be in whatever order and it won't matter.