This was not a bug, and is important!
Posted: 14 Sep 2010 23:25
(I know I'm late, I hadn't updated in a little while
)
As a wish for the future, when you do something like this:
It's not a but you fixed, you changed the behavior of a function. Completely different. No really, because delimiters are meant to be there each time, because they are delimiters and not separators(*). It's a whole different thing, and yes some values for getinfo (now just get) do use a delimiter, while others use a separator, and it might be a good idea/understandable that you want to make it all the same, consistency and whatnot.
(*) Okay, I know a delimiter is just a separator, I'm sure it could be argued that those mean the same or whatever. That's not the point so if someone was willing to quote the dictionary or something, please don't. I used delimiter and separator to mean different things here because it's quite simple to grasp, and that's how it was meant (I believe) in the Help as well, using delimiter for "after each element" and separator for "between elements."
Still:
- You did not fixed a bug, everything was working fine, as expected & documented. You changed the way a function works. Also, you should update the doc, those are not delimiters anymore, but separators. Or, no need to use different terms to (now) mean the same thing.
- When you do such an important change (and as we've seen, it is important) it should probably be written down elsewhere than just lost in the changelog, because I doubt I'm the only only who uses/used those things in scripts, and since you changed how that function works, you probably broke some (other) scripts out there. It is worth noting in big letters on the website or something, IMHO.
As a wish for the future, when you do something like this:
Code: Select all
v9.40.0007 - 2010-08-10 20:37
! SC getinfo("SelectedItemsPathNames") and
getinfo("SelectedItemsNames") returned a trailing delimiter after
the last returned item. Fixed. Now delimiters are found only
between the items.(*) Okay, I know a delimiter is just a separator, I'm sure it could be argued that those mean the same or whatever. That's not the point so if someone was willing to quote the dictionary or something, please don't. I used delimiter and separator to mean different things here because it's quite simple to grasp, and that's how it was meant (I believe) in the Help as well, using delimiter for "after each element" and separator for "between elements."
Still:
- You did not fixed a bug, everything was working fine, as expected & documented. You changed the way a function works. Also, you should update the doc, those are not delimiters anymore, but separators. Or, no need to use different terms to (now) mean the same thing.
- When you do such an important change (and as we've seen, it is important) it should probably be written down elsewhere than just lost in the changelog, because I doubt I'm the only only who uses/used those things in scripts, and since you changed how that function works, you probably broke some (other) scripts out there. It is worth noting in big letters on the website or something, IMHO.