<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 24, 2016 at 11:53 AM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">In my 2 cases, it's always appending to the end of the data array.  I guess I could use InsertNextValue() instead, if I understand it correctly.<br></blockquote><div><br></div><div>You're correct, InsertNextValue would work just fine (and should probably be called "Append" or "PushBack" to keep up with modern conventions).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I think your point #2 is quite valid.  Since it's not *inserting*, but rather *replacing*, then the API name is very confusing.  A deprecate and rename is in order IMHO.<br></blockquote><div><br></div><div>I 100% agree. Trouble is, as Bill's thread shows, there's always push back from some developers for these sorts of changes. Whether it improves the API or not, it creates work for legacy maintainers, and they often feel that the extra work is unneeded. Trying to address issues like the vtkDataArray API inconsistencies feels like an impossible balancing act -- there's no solution that satisfies everyone :-(</div><div><br></div><div>On Thu, Mar 24, 2016 at 12:04 PM, Simon ESNEAULT <span dir="ltr"><<a href="mailto:simon.esneault@gmail.com" target="_blank">simon.esneault@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">As a user, I believe that kind of change makes perfect sense, these functions are just confusing.</div></blockquote></div><div><br></div><div>Thanks for the feedback! I'm genuinely interested in how the majority of the developer community feels about these sorts of topics. Anyone else want to share an opinion?</div><div><br></div><div>Dave</div></div></div></div>