<div class="gmail_quote">On Thu, Nov 10, 2011 at 08:23, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>No one thinks arrays are easier, however variadic functions are not interoperable, and it seems they can fail in</div>
<div>weird ways even for C++. In my book, that is "not robust".</div></blockquote></div><br><div>Format strings would make it explicit how many parameters you expected. You could also specify global versus ghosted independently for each entry.</div>
<div><br></div><div>Even without the issues of passing NULL as a pointer, I'm concerned about using variadic functions without any other indication of the expected number of entries because of what happens if you add a DM to the DMComposite, but forget to update every call site to match.</div>